mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
6951 lines
2.2 MiB
6951 lines
2.2 MiB
{
|
|
"queries": {
|
|
"(SELECT date, $n::text AS api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, (GROUPING(date) << $n) | $n | GROUPING(model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, $n::bigint AS distinct_api_keys, SUM(spend)::float AS spend, $n::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyUserSpend\" WHERE date >= $n AND date <= $n AND api_key = $n GROUP BY GROUPING SETS ( (date), (date, model), (date, COALESCE(NULLIF(model_group, ''), model)), (date, custom_llm_provider), (date, mcp_namespaced_tool_name), (date, endpoint), () )) UNION ALL (WITH top_api_keys AS ( SELECT api_key, COUNT(*) OVER () AS distinct_api_keys FROM \"LiteLLM_DailyUserSpend\" WHERE date >= $n AND date <= $n AND api_key = $n AND api_key <> $n GROUP BY api_key ORDER BY SUM(spend) DESC, api_key LIMIT $n ) SELECT date, api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, GROUPING(date, api_key, model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, MAX(top_api_keys.distinct_api_keys) AS distinct_api_keys, SUM(spend)::float AS spend, $n::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyUserSpend\" JOIN top_api_keys USING (api_key) WHERE date >= $n AND date <= $n AND api_key = $n GROUP BY GROUPING SETS ( (date, api_key), (date, model, api_key), (date, COALESCE(NULLIF(model_group, ''), model), api_key), (date, custom_llm_provider, api_key), (date, mcp_namespaced_tool_name, api_key), (date, endpoint, api_key) ))": [
|
|
"litellm_reader"
|
|
],
|
|
"(SELECT date, $n::text AS api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, (GROUPING(date) << $n) | $n | GROUPING(model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, $n::bigint AS distinct_api_keys, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date), (date, model), (date, COALESCE(NULLIF(model_group, ''), model)), (date, custom_llm_provider), (date, mcp_namespaced_tool_name), (date, endpoint), () )) UNION ALL (WITH top_api_keys AS ( SELECT api_key, COUNT(*) OVER () AS distinct_api_keys FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) AND api_key <> $n GROUP BY api_key ORDER BY SUM(spend) DESC, api_key LIMIT $n ) SELECT date, api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, GROUPING(date, api_key, model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, MAX(top_api_keys.distinct_api_keys) AS distinct_api_keys, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" JOIN top_api_keys USING (api_key) WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date, api_key), (date, model, api_key), (date, COALESCE(NULLIF(model_group, ''), model), api_key), (date, custom_llm_provider, api_key), (date, mcp_namespaced_tool_name, api_key), (date, endpoint, api_key) ))": [
|
|
"litellm_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_InvitationLink\" WHERE (\"public\".\"LiteLLM_InvitationLink\".\"user_id\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"created_by\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"updated_by\" IN ($n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE (\"public\".\"LiteLLM_OrganizationTable\".\"organization_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_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyOrganizationSpend\" (\"id\", \"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyOrganizationSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyOrganizationSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_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 \"LiteLLM_TeamMembership\" (user_id, team_id, spend, total_spend) SELECT p.user_id, p.team_id, p.cost, p.cost FROM unnest($n::text[], $n::text[], $n::float8[]) AS p(user_id, team_id, cost) WHERE EXISTS ( SELECT $n FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = p.team_id AND t.members_with_roles @> jsonb_build_array(jsonb_build_object($n, p.user_id)) ) OR EXISTS (SELECT $n FROM \"LiteLLM_TeamMembership\" m WHERE m.user_id = p.user_id AND m.team_id = p.team_id) ON CONFLICT (user_id, team_id) DO UPDATE SET spend = \"LiteLLM_TeamMembership\".spend + EXCLUDED.spend, total_spend = \"LiteLLM_TeamMembership\".total_spend + EXCLUDED.total_spend": [
|
|
"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_BudgetTable\" (\"budget_id\",\"max_budget\",\"allowed_models\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_BudgetTable\".\"budget_id\", \"public\".\"LiteLLM_BudgetTable\".\"max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"soft_budget\", \"public\".\"LiteLLM_BudgetTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_BudgetTable\".\"tpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"rpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"tpd_limit\", \"public\".\"LiteLLM_BudgetTable\".\"model_max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"budget_duration\", \"public\".\"LiteLLM_BudgetTable\".\"budget_reset_at\", \"public\".\"LiteLLM_BudgetTable\".\"allowed_models\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_increase\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_expiry\", \"public\".\"LiteLLM_BudgetTable\".\"created_at\", \"public\".\"LiteLLM_BudgetTable\".\"created_by\", \"public\".\"LiteLLM_BudgetTable\".\"updated_at\", \"public\".\"LiteLLM_BudgetTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"created_at\",\"models\",\"admins\",\"max_parallel_requests\",\"rpm_limit\",\"organization_id\",\"deleted_by_api_key\",\"team_id\",\"deleted_by\",\"access_group_ids\",\"metadata\",\"object_permission_id\",\"litellm_changed_by\",\"policies\",\"team_member_permissions\",\"team_alias\",\"updated_at\",\"router_settings\",\"budget_duration\",\"members\",\"model_max_budget\",\"model_id\",\"tpd_limit\",\"blocked\",\"deleted_at\",\"budget_reset_at\",\"members_with_roles\",\"soft_budget\",\"model_spend\",\"spend\",\"allow_team_guardrail_config\",\"id\",\"tpm_limit\",\"max_budget\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"litellm_changed_by\",\"budget_duration\",\"policies\",\"object_permission_id\",\"access_group_ids\",\"models\",\"team_id\",\"blocked\",\"deleted_at\",\"deleted_by_api_key\",\"router_settings\",\"tpm_limit\",\"metadata\",\"team_alias\",\"members_with_roles\",\"rpm_limit\",\"max_budget\",\"team_member_permissions\",\"members\",\"model_id\",\"tpd_limit\",\"max_parallel_requests\",\"budget_reset_at\",\"id\",\"organization_id\",\"model_max_budget\",\"updated_at\",\"model_spend\",\"deleted_by\",\"soft_budget\",\"spend\",\"admins\",\"created_at\",\"allow_team_guardrail_config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"litellm_changed_by\",\"id\",\"model_id\",\"deleted_at\",\"deleted_by\",\"max_parallel_requests\",\"team_alias\",\"updated_at\",\"members\",\"policies\",\"organization_id\",\"members_with_roles\",\"metadata\",\"allow_team_guardrail_config\",\"tpd_limit\",\"team_member_permissions\",\"soft_budget\",\"model_spend\",\"team_id\",\"created_at\",\"rpm_limit\",\"models\",\"max_budget\",\"object_permission_id\",\"tpm_limit\",\"admins\",\"model_max_budget\",\"deleted_by_api_key\",\"budget_reset_at\",\"blocked\",\"spend\",\"budget_duration\",\"router_settings\",\"access_group_ids\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"members_with_roles\",\"blocked\",\"id\",\"admins\",\"model_max_budget\",\"metadata\",\"updated_at\",\"organization_id\",\"deleted_by\",\"object_permission_id\",\"litellm_changed_by\",\"created_at\",\"max_budget\",\"budget_duration\",\"deleted_at\",\"team_member_permissions\",\"members\",\"soft_budget\",\"budget_reset_at\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"policies\",\"access_group_ids\",\"model_id\",\"models\",\"max_parallel_requests\",\"model_spend\",\"router_settings\",\"team_alias\",\"team_id\",\"spend\",\"deleted_by_api_key\",\"allow_team_guardrail_config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"policies\",\"deleted_at\",\"tpm_limit\",\"tpd_limit\",\"spend\",\"max_parallel_requests\",\"allow_team_guardrail_config\",\"team_member_permissions\",\"team_id\",\"deleted_by\",\"id\",\"soft_budget\",\"metadata\",\"router_settings\",\"access_group_ids\",\"budget_duration\",\"created_at\",\"rpm_limit\",\"members\",\"models\",\"max_budget\",\"updated_at\",\"deleted_by_api_key\",\"model_max_budget\",\"members_with_roles\",\"object_permission_id\",\"model_id\",\"organization_id\",\"litellm_changed_by\",\"model_spend\",\"blocked\",\"team_alias\",\"admins\",\"budget_reset_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"blocked\",\"deleted_by_api_key\",\"tpd_limit\",\"last_rotation_at\",\"auto_rotate\",\"organization_id\",\"access_group_ids\",\"object_permission_id\",\"allowed_cache_controls\",\"updated_at\",\"expires\",\"created_by\",\"last_active\",\"agent_id\",\"key_type\",\"key_name\",\"total_spend\",\"soft_budget_cooldown\",\"team_id\",\"policies\",\"key_rotation_at\",\"budget_id\",\"project_id\",\"id\",\"updated_by\",\"user_id\",\"metadata\",\"key_alias\",\"budget_duration\",\"config\",\"rpm_limit\",\"deleted_by\",\"tpm_limit\",\"settings_updated_at\",\"router_settings\",\"models\",\"allowed_routes\",\"model_spend\",\"deleted_at\",\"token\",\"litellm_changed_by\",\"rotation_interval\",\"model_max_budget\",\"spend\",\"budget_fallbacks\",\"max_budget\",\"rotation_count\",\"created_at\",\"permissions\",\"aliases\",\"budget_reset_at\",\"max_parallel_requests\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"blocked\",\"rotation_interval\",\"last_rotation_at\",\"budget_duration\",\"budget_fallbacks\",\"aliases\",\"metadata\",\"rotation_count\",\"spend\",\"permissions\",\"deleted_by_api_key\",\"budget_id\",\"created_at\",\"config\",\"token\",\"key_type\",\"auto_rotate\",\"id\",\"key_name\",\"key_rotation_at\",\"model_spend\",\"key_alias\",\"max_parallel_requests\",\"expires\",\"team_id\",\"last_active\",\"user_id\",\"litellm_changed_by\",\"tpm_limit\",\"models\",\"allowed_routes\",\"tpd_limit\",\"organization_id\",\"soft_budget_cooldown\",\"deleted_by\",\"object_permission_id\",\"rpm_limit\",\"allowed_cache_controls\",\"max_budget\",\"updated_at\",\"total_spend\",\"created_by\",\"model_max_budget\",\"access_group_ids\",\"router_settings\",\"budget_reset_at\",\"settings_updated_at\",\"updated_by\",\"policies\",\"deleted_at\",\"project_id\",\"agent_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"blocked\",\"soft_budget_cooldown\",\"last_rotation_at\",\"expires\",\"last_active\",\"rotation_interval\",\"object_permission_id\",\"router_settings\",\"deleted_at\",\"budget_id\",\"config\",\"token\",\"budget_fallbacks\",\"budget_reset_at\",\"rotation_count\",\"deleted_by\",\"deleted_by_api_key\",\"auto_rotate\",\"spend\",\"key_type\",\"settings_updated_at\",\"max_budget\",\"litellm_changed_by\",\"allowed_cache_controls\",\"tpm_limit\",\"organization_id\",\"agent_id\",\"tpd_limit\",\"model_spend\",\"metadata\",\"budget_duration\",\"permissions\",\"id\",\"key_rotation_at\",\"aliases\",\"user_id\",\"model_max_budget\",\"key_alias\",\"created_by\",\"access_group_ids\",\"policies\",\"updated_by\",\"total_spend\",\"created_at\",\"updated_at\",\"max_parallel_requests\",\"key_name\",\"allowed_routes\",\"team_id\",\"project_id\",\"models\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"budget_duration\",\"tpm_limit\",\"key_rotation_at\",\"budget_reset_at\",\"rotation_interval\",\"team_id\",\"deleted_by_api_key\",\"soft_budget_cooldown\",\"agent_id\",\"token\",\"spend\",\"organization_id\",\"user_id\",\"policies\",\"blocked\",\"litellm_changed_by\",\"last_active\",\"budget_id\",\"expires\",\"id\",\"updated_at\",\"key_alias\",\"auto_rotate\",\"rotation_count\",\"max_parallel_requests\",\"access_group_ids\",\"created_at\",\"models\",\"deleted_at\",\"object_permission_id\",\"updated_by\",\"key_type\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"router_settings\",\"project_id\",\"tpd_limit\",\"created_by\",\"config\",\"allowed_cache_controls\",\"rpm_limit\",\"aliases\",\"total_spend\",\"allowed_routes\",\"metadata\",\"max_budget\",\"settings_updated_at\",\"permissions\",\"last_rotation_at\",\"key_name\",\"deleted_by\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"budget_fallbacks\",\"created_by\",\"settings_updated_at\",\"object_permission_id\",\"key_rotation_at\",\"key_type\",\"model_max_budget\",\"spend\",\"organization_id\",\"policies\",\"config\",\"project_id\",\"last_active\",\"rotation_count\",\"router_settings\",\"budget_id\",\"agent_id\",\"allowed_cache_controls\",\"deleted_at\",\"allowed_routes\",\"updated_by\",\"budget_reset_at\",\"rotation_interval\",\"soft_budget_cooldown\",\"budget_duration\",\"rpm_limit\",\"model_spend\",\"key_alias\",\"id\",\"tpd_limit\",\"max_parallel_requests\",\"permissions\",\"last_rotation_at\",\"aliases\",\"blocked\",\"deleted_by_api_key\",\"updated_at\",\"total_spend\",\"created_at\",\"deleted_by\",\"tpm_limit\",\"litellm_changed_by\",\"metadata\",\"access_group_ids\",\"auto_rotate\",\"token\",\"expires\",\"key_name\",\"models\",\"max_budget\",\"user_id\",\"team_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"config\",\"tpd_limit\",\"updated_at\",\"deleted_by_api_key\",\"agent_id\",\"key_type\",\"litellm_changed_by\",\"project_id\",\"access_group_ids\",\"key_rotation_at\",\"deleted_at\",\"budget_id\",\"total_spend\",\"rotation_interval\",\"allowed_routes\",\"rotation_count\",\"soft_budget_cooldown\",\"budget_duration\",\"team_id\",\"budget_reset_at\",\"spend\",\"token\",\"max_budget\",\"auto_rotate\",\"expires\",\"key_name\",\"user_id\",\"last_rotation_at\",\"model_max_budget\",\"updated_by\",\"models\",\"aliases\",\"policies\",\"deleted_by\",\"permissions\",\"created_by\",\"router_settings\",\"created_at\",\"max_parallel_requests\",\"allowed_cache_controls\",\"blocked\",\"tpm_limit\",\"object_permission_id\",\"organization_id\",\"model_spend\",\"metadata\",\"last_active\",\"settings_updated_at\",\"key_alias\",\"budget_fallbacks\",\"id\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"created_by\",\"budget_id\",\"metadata\",\"team_id\",\"router_settings\",\"total_spend\",\"user_id\",\"aliases\",\"soft_budget_cooldown\",\"rotation_count\",\"updated_at\",\"budget_duration\",\"rotation_interval\",\"settings_updated_at\",\"id\",\"tpm_limit\",\"key_rotation_at\",\"agent_id\",\"expires\",\"deleted_at\",\"tpd_limit\",\"key_name\",\"blocked\",\"max_parallel_requests\",\"organization_id\",\"models\",\"permissions\",\"token\",\"budget_reset_at\",\"model_spend\",\"deleted_by\",\"access_group_ids\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"spend\",\"budget_fallbacks\",\"litellm_changed_by\",\"last_rotation_at\",\"updated_by\",\"key_alias\",\"config\",\"created_at\",\"allowed_routes\",\"object_permission_id\",\"key_type\",\"model_max_budget\",\"last_active\",\"rpm_limit\",\"policies\",\"max_budget\",\"auto_rotate\",\"project_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"created_by\",\"models\",\"budget_reset_at\",\"config\",\"auto_rotate\",\"metadata\",\"max_budget\",\"rpm_limit\",\"budget_id\",\"key_rotation_at\",\"updated_by\",\"agent_id\",\"deleted_by_api_key\",\"object_permission_id\",\"aliases\",\"policies\",\"total_spend\",\"expires\",\"budget_duration\",\"tpd_limit\",\"last_active\",\"id\",\"blocked\",\"key_type\",\"user_id\",\"rotation_interval\",\"spend\",\"model_spend\",\"deleted_at\",\"allowed_routes\",\"budget_fallbacks\",\"key_name\",\"soft_budget_cooldown\",\"organization_id\",\"token\",\"updated_at\",\"rotation_count\",\"router_settings\",\"deleted_by\",\"permissions\",\"settings_updated_at\",\"allowed_cache_controls\",\"created_at\",\"litellm_changed_by\",\"key_alias\",\"team_id\",\"project_id\",\"max_parallel_requests\",\"last_rotation_at\",\"access_group_ids\",\"tpm_limit\",\"model_max_budget\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"deleted_at\",\"rotation_interval\",\"organization_id\",\"team_id\",\"model_spend\",\"last_active\",\"models\",\"budget_id\",\"allowed_routes\",\"max_parallel_requests\",\"deleted_by_api_key\",\"expires\",\"rpm_limit\",\"agent_id\",\"soft_budget_cooldown\",\"updated_by\",\"key_alias\",\"permissions\",\"auto_rotate\",\"rotation_count\",\"budget_fallbacks\",\"last_rotation_at\",\"allowed_cache_controls\",\"router_settings\",\"tpm_limit\",\"access_group_ids\",\"litellm_changed_by\",\"id\",\"blocked\",\"object_permission_id\",\"project_id\",\"deleted_by\",\"key_name\",\"user_id\",\"created_by\",\"settings_updated_at\",\"updated_at\",\"key_rotation_at\",\"key_type\",\"tpd_limit\",\"budget_duration\",\"policies\",\"max_budget\",\"token\",\"budget_reset_at\",\"total_spend\",\"spend\",\"created_at\",\"aliases\",\"model_max_budget\",\"metadata\",\"config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"agent_id\",\"project_id\",\"tpd_limit\",\"last_active\",\"id\",\"deleted_by\",\"blocked\",\"budget_duration\",\"key_type\",\"created_at\",\"rotation_count\",\"rotation_interval\",\"spend\",\"model_max_budget\",\"metadata\",\"budget_id\",\"tpm_limit\",\"allowed_cache_controls\",\"token\",\"auto_rotate\",\"soft_budget_cooldown\",\"deleted_at\",\"key_alias\",\"models\",\"budget_reset_at\",\"max_budget\",\"key_rotation_at\",\"updated_at\",\"key_name\",\"policies\",\"litellm_changed_by\",\"aliases\",\"router_settings\",\"budget_fallbacks\",\"user_id\",\"team_id\",\"model_spend\",\"config\",\"updated_by\",\"access_group_ids\",\"created_by\",\"last_rotation_at\",\"max_parallel_requests\",\"organization_id\",\"deleted_by_api_key\",\"object_permission_id\",\"rpm_limit\",\"total_spend\",\"allowed_routes\",\"settings_updated_at\",\"permissions\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"key_type\",\"aliases\",\"rpm_limit\",\"budget_duration\",\"models\",\"agent_id\",\"object_permission_id\",\"router_settings\",\"permissions\",\"deleted_by_api_key\",\"metadata\",\"rotation_count\",\"deleted_at\",\"spend\",\"organization_id\",\"model_max_budget\",\"soft_budget_cooldown\",\"rotation_interval\",\"max_parallel_requests\",\"allowed_cache_controls\",\"updated_at\",\"blocked\",\"budget_id\",\"last_rotation_at\",\"project_id\",\"max_budget\",\"created_at\",\"deleted_by\",\"policies\",\"key_rotation_at\",\"litellm_changed_by\",\"key_alias\",\"allowed_routes\",\"tpd_limit\",\"model_spend\",\"key_name\",\"total_spend\",\"id\",\"config\",\"settings_updated_at\",\"user_id\",\"team_id\",\"last_active\",\"created_by\",\"budget_fallbacks\",\"access_group_ids\",\"updated_by\",\"budget_reset_at\",\"auto_rotate\",\"token\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"total_spend\",\"updated_at\",\"permissions\",\"token\",\"key_rotation_at\",\"organization_id\",\"max_budget\",\"key_name\",\"model_spend\",\"last_active\",\"deleted_by_api_key\",\"last_rotation_at\",\"rotation_interval\",\"models\",\"key_alias\",\"blocked\",\"spend\",\"settings_updated_at\",\"max_parallel_requests\",\"team_id\",\"model_max_budget\",\"created_by\",\"budget_reset_at\",\"agent_id\",\"rotation_count\",\"deleted_by\",\"aliases\",\"rpm_limit\",\"router_settings\",\"tpm_limit\",\"deleted_at\",\"allowed_routes\",\"allowed_cache_controls\",\"object_permission_id\",\"project_id\",\"budget_duration\",\"policies\",\"created_at\",\"access_group_ids\",\"key_type\",\"config\",\"budget_fallbacks\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"tpd_limit\",\"auto_rotate\",\"id\",\"user_id\",\"budget_id\",\"metadata\",\"updated_by\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"id\",\"tpd_limit\",\"router_settings\",\"rotation_count\",\"aliases\",\"agent_id\",\"last_active\",\"rotation_interval\",\"deleted_by_api_key\",\"max_budget\",\"object_permission_id\",\"budget_fallbacks\",\"deleted_at\",\"tpm_limit\",\"budget_duration\",\"budget_id\",\"permissions\",\"key_alias\",\"allowed_cache_controls\",\"settings_updated_at\",\"user_id\",\"max_parallel_requests\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"project_id\",\"created_at\",\"team_id\",\"expires\",\"blocked\",\"total_spend\",\"policies\",\"last_rotation_at\",\"spend\",\"updated_by\",\"token\",\"budget_reset_at\",\"deleted_by\",\"model_spend\",\"key_name\",\"metadata\",\"model_max_budget\",\"rpm_limit\",\"models\",\"created_by\",\"updated_at\",\"allowed_routes\",\"access_group_ids\",\"key_type\",\"organization_id\",\"config\",\"auto_rotate\",\"key_rotation_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"key_type\",\"expires\",\"project_id\",\"allowed_cache_controls\",\"models\",\"key_alias\",\"metadata\",\"created_at\",\"created_by\",\"config\",\"budget_reset_at\",\"deleted_at\",\"allowed_routes\",\"updated_at\",\"tpd_limit\",\"rotation_interval\",\"rpm_limit\",\"model_spend\",\"permissions\",\"team_id\",\"max_budget\",\"budget_fallbacks\",\"total_spend\",\"policies\",\"spend\",\"id\",\"budget_id\",\"access_group_ids\",\"agent_id\",\"user_id\",\"settings_updated_at\",\"key_rotation_at\",\"soft_budget_cooldown\",\"aliases\",\"blocked\",\"router_settings\",\"rotation_count\",\"tpm_limit\",\"budget_duration\",\"max_parallel_requests\",\"deleted_by\",\"token\",\"object_permission_id\",\"litellm_changed_by\",\"last_rotation_at\",\"model_max_budget\",\"auto_rotate\",\"key_name\",\"updated_by\",\"organization_id\",\"last_active\",\"deleted_by_api_key\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"last_active\",\"updated_by\",\"organization_id\",\"settings_updated_at\",\"model_max_budget\",\"budget_fallbacks\",\"deleted_by\",\"key_rotation_at\",\"allowed_routes\",\"tpd_limit\",\"litellm_changed_by\",\"access_group_ids\",\"spend\",\"max_budget\",\"team_id\",\"metadata\",\"agent_id\",\"id\",\"budget_duration\",\"policies\",\"updated_at\",\"user_id\",\"router_settings\",\"blocked\",\"created_at\",\"permissions\",\"aliases\",\"deleted_at\",\"rotation_interval\",\"allowed_cache_controls\",\"total_spend\",\"rpm_limit\",\"key_type\",\"project_id\",\"max_parallel_requests\",\"soft_budget_cooldown\",\"created_by\",\"expires\",\"key_alias\",\"model_spend\",\"config\",\"budget_id\",\"budget_reset_at\",\"rotation_count\",\"last_rotation_at\",\"auto_rotate\",\"token\",\"object_permission_id\",\"tpm_limit\",\"deleted_by_api_key\",\"key_name\",\"models\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"last_rotation_at\",\"project_id\",\"allowed_cache_controls\",\"rpm_limit\",\"soft_budget_cooldown\",\"rotation_count\",\"agent_id\",\"total_spend\",\"key_name\",\"token\",\"id\",\"deleted_by_api_key\",\"user_id\",\"created_at\",\"auto_rotate\",\"deleted_at\",\"created_by\",\"key_rotation_at\",\"policies\",\"metadata\",\"tpm_limit\",\"config\",\"blocked\",\"max_parallel_requests\",\"updated_at\",\"deleted_by\",\"rotation_interval\",\"models\",\"key_type\",\"budget_id\",\"budget_duration\",\"spend\",\"budget_fallbacks\",\"key_alias\",\"settings_updated_at\",\"allowed_routes\",\"updated_by\",\"organization_id\",\"aliases\",\"litellm_changed_by\",\"last_active\",\"access_group_ids\",\"budget_reset_at\",\"max_budget\",\"team_id\",\"permissions\",\"router_settings\",\"model_max_budget\",\"tpd_limit\",\"expires\",\"object_permission_id\",\"model_spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"max_budget\",\"tpm_limit\",\"updated_at\",\"policies\",\"settings_updated_at\",\"soft_budget_cooldown\",\"key_name\",\"created_by\",\"models\",\"model_max_budget\",\"deleted_by_api_key\",\"updated_by\",\"team_id\",\"expires\",\"budget_id\",\"rpm_limit\",\"project_id\",\"permissions\",\"blocked\",\"key_rotation_at\",\"budget_reset_at\",\"rotation_interval\",\"budget_duration\",\"object_permission_id\",\"total_spend\",\"token\",\"access_group_ids\",\"deleted_by\",\"litellm_changed_by\",\"model_spend\",\"allowed_routes\",\"rotation_count\",\"id\",\"max_parallel_requests\",\"tpd_limit\",\"aliases\",\"user_id\",\"last_active\",\"auto_rotate\",\"created_at\",\"last_rotation_at\",\"spend\",\"key_alias\",\"config\",\"allowed_cache_controls\",\"router_settings\",\"organization_id\",\"deleted_at\",\"agent_id\",\"budget_fallbacks\",\"key_type\",\"metadata\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"metadata\",\"litellm_changed_by\",\"user_id\",\"router_settings\",\"budget_id\",\"access_group_ids\",\"model_spend\",\"rotation_count\",\"updated_by\",\"organization_id\",\"permissions\",\"last_active\",\"budget_duration\",\"budget_fallbacks\",\"key_type\",\"config\",\"total_spend\",\"project_id\",\"settings_updated_at\",\"token\",\"soft_budget_cooldown\",\"aliases\",\"deleted_at\",\"updated_at\",\"auto_rotate\",\"created_at\",\"key_name\",\"budget_reset_at\",\"agent_id\",\"max_parallel_requests\",\"object_permission_id\",\"key_rotation_at\",\"last_rotation_at\",\"model_max_budget\",\"id\",\"allowed_cache_controls\",\"allowed_routes\",\"expires\",\"models\",\"key_alias\",\"deleted_by_api_key\",\"rpm_limit\",\"tpm_limit\",\"deleted_by\",\"policies\",\"created_by\",\"max_budget\",\"tpd_limit\",\"team_id\",\"rotation_interval\",\"spend\",\"blocked\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"model_spend\",\"metadata\",\"created_at\",\"aliases\",\"auto_rotate\",\"budget_reset_at\",\"key_name\",\"token\",\"budget_fallbacks\",\"tpm_limit\",\"updated_at\",\"blocked\",\"organization_id\",\"last_active\",\"budget_id\",\"id\",\"team_id\",\"expires\",\"deleted_by\",\"max_budget\",\"models\",\"last_rotation_at\",\"max_parallel_requests\",\"updated_by\",\"budget_duration\",\"model_max_budget\",\"allowed_cache_controls\",\"litellm_changed_by\",\"key_rotation_at\",\"permissions\",\"total_spend\",\"spend\",\"soft_budget_cooldown\",\"user_id\",\"object_permission_id\",\"access_group_ids\",\"project_id\",\"created_by\",\"allowed_routes\",\"rpm_limit\",\"rotation_count\",\"deleted_by_api_key\",\"agent_id\",\"policies\",\"router_settings\",\"tpd_limit\",\"deleted_at\",\"key_alias\",\"settings_updated_at\",\"config\",\"rotation_interval\",\"key_type\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"object_permission_id\",\"allowed_routes\",\"model_max_budget\",\"models\",\"metadata\",\"deleted_by_api_key\",\"litellm_changed_by\",\"key_name\",\"blocked\",\"policies\",\"aliases\",\"user_id\",\"agent_id\",\"max_parallel_requests\",\"created_by\",\"rotation_count\",\"last_rotation_at\",\"total_spend\",\"spend\",\"tpd_limit\",\"rotation_interval\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"tpm_limit\",\"budget_fallbacks\",\"permissions\",\"access_group_ids\",\"rpm_limit\",\"project_id\",\"budget_duration\",\"deleted_by\",\"auto_rotate\",\"team_id\",\"organization_id\",\"created_at\",\"settings_updated_at\",\"token\",\"updated_by\",\"router_settings\",\"id\",\"key_rotation_at\",\"key_type\",\"key_alias\",\"last_active\",\"config\",\"budget_id\",\"updated_at\",\"expires\",\"budget_reset_at\",\"model_spend\",\"deleted_at\",\"max_budget\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"object_permission_id\",\"budget_duration\",\"key_rotation_at\",\"organization_id\",\"auto_rotate\",\"updated_at\",\"agent_id\",\"models\",\"budget_id\",\"router_settings\",\"id\",\"allowed_routes\",\"metadata\",\"max_budget\",\"created_at\",\"rotation_count\",\"config\",\"total_spend\",\"key_type\",\"max_parallel_requests\",\"rpm_limit\",\"last_active\",\"model_max_budget\",\"budget_reset_at\",\"deleted_by_api_key\",\"access_group_ids\",\"team_id\",\"permissions\",\"policies\",\"deleted_at\",\"settings_updated_at\",\"updated_by\",\"spend\",\"budget_fallbacks\",\"blocked\",\"user_id\",\"deleted_by\",\"soft_budget_cooldown\",\"created_by\",\"aliases\",\"litellm_changed_by\",\"expires\",\"tpd_limit\",\"project_id\",\"last_rotation_at\",\"rotation_interval\",\"key_alias\",\"key_name\",\"model_spend\",\"allowed_cache_controls\",\"tpm_limit\",\"token\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"organization_id\",\"permissions\",\"key_name\",\"spend\",\"total_spend\",\"user_id\",\"tpd_limit\",\"deleted_by\",\"rpm_limit\",\"updated_at\",\"token\",\"last_active\",\"budget_fallbacks\",\"litellm_changed_by\",\"config\",\"key_alias\",\"agent_id\",\"soft_budget_cooldown\",\"model_spend\",\"rotation_interval\",\"budget_reset_at\",\"allowed_routes\",\"deleted_at\",\"rotation_count\",\"id\",\"max_parallel_requests\",\"settings_updated_at\",\"router_settings\",\"max_budget\",\"model_max_budget\",\"tpm_limit\",\"key_type\",\"access_group_ids\",\"team_id\",\"created_at\",\"object_permission_id\",\"auto_rotate\",\"last_rotation_at\",\"budget_id\",\"created_by\",\"key_rotation_at\",\"budget_duration\",\"deleted_by_api_key\",\"aliases\",\"metadata\",\"policies\",\"expires\",\"updated_by\",\"allowed_cache_controls\",\"project_id\",\"blocked\",\"models\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"permissions\",\"last_active\",\"key_name\",\"policies\",\"id\",\"settings_updated_at\",\"max_budget\",\"created_by\",\"model_max_budget\",\"metadata\",\"key_type\",\"key_rotation_at\",\"auto_rotate\",\"tpd_limit\",\"updated_at\",\"team_id\",\"rotation_count\",\"model_spend\",\"key_alias\",\"allowed_routes\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"blocked\",\"created_at\",\"user_id\",\"deleted_at\",\"last_rotation_at\",\"expires\",\"budget_id\",\"models\",\"total_spend\",\"budget_duration\",\"config\",\"deleted_by_api_key\",\"budget_reset_at\",\"project_id\",\"budget_fallbacks\",\"aliases\",\"access_group_ids\",\"tpm_limit\",\"token\",\"organization_id\",\"router_settings\",\"updated_by\",\"rpm_limit\",\"deleted_by\",\"object_permission_id\",\"agent_id\",\"max_parallel_requests\",\"allowed_cache_controls\",\"spend\",\"rotation_interval\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"policies\",\"expires\",\"allowed_cache_controls\",\"total_spend\",\"model_spend\",\"aliases\",\"key_type\",\"budget_id\",\"spend\",\"deleted_by_api_key\",\"max_parallel_requests\",\"created_by\",\"metadata\",\"last_rotation_at\",\"tpd_limit\",\"permissions\",\"access_group_ids\",\"budget_duration\",\"max_budget\",\"settings_updated_at\",\"model_max_budget\",\"key_alias\",\"created_at\",\"rotation_interval\",\"litellm_changed_by\",\"object_permission_id\",\"models\",\"rpm_limit\",\"team_id\",\"blocked\",\"updated_by\",\"project_id\",\"key_name\",\"token\",\"router_settings\",\"user_id\",\"soft_budget_cooldown\",\"tpm_limit\",\"allowed_routes\",\"agent_id\",\"auto_rotate\",\"deleted_at\",\"budget_reset_at\",\"key_rotation_at\",\"id\",\"budget_fallbacks\",\"last_active\",\"config\",\"rotation_count\",\"updated_at\",\"organization_id\",\"deleted_by\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"policies\",\"max_budget\",\"budget_id\",\"budget_duration\",\"rotation_count\",\"id\",\"key_alias\",\"allowed_cache_controls\",\"key_rotation_at\",\"organization_id\",\"token\",\"team_id\",\"permissions\",\"litellm_changed_by\",\"object_permission_id\",\"metadata\",\"key_type\",\"model_spend\",\"last_rotation_at\",\"updated_by\",\"key_name\",\"last_active\",\"rotation_interval\",\"model_max_budget\",\"allowed_routes\",\"settings_updated_at\",\"soft_budget_cooldown\",\"project_id\",\"deleted_at\",\"aliases\",\"tpd_limit\",\"auto_rotate\",\"spend\",\"user_id\",\"models\",\"created_by\",\"blocked\",\"created_at\",\"access_group_ids\",\"config\",\"max_parallel_requests\",\"agent_id\",\"rpm_limit\",\"deleted_by_api_key\",\"tpm_limit\",\"router_settings\",\"total_spend\",\"updated_at\",\"deleted_by\",\"budget_fallbacks\",\"expires\",\"budget_reset_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"project_id\",\"team_id\",\"tpm_limit\",\"aliases\",\"model_max_budget\",\"total_spend\",\"organization_id\",\"soft_budget_cooldown\",\"blocked\",\"last_active\",\"key_alias\",\"object_permission_id\",\"expires\",\"router_settings\",\"metadata\",\"litellm_changed_by\",\"key_name\",\"max_parallel_requests\",\"deleted_at\",\"permissions\",\"config\",\"model_spend\",\"budget_fallbacks\",\"agent_id\",\"created_at\",\"deleted_by\",\"policies\",\"rpm_limit\",\"allowed_routes\",\"rotation_count\",\"id\",\"user_id\",\"auto_rotate\",\"key_type\",\"max_budget\",\"models\",\"updated_at\",\"token\",\"key_rotation_at\",\"budget_duration\",\"updated_by\",\"last_rotation_at\",\"rotation_interval\",\"tpd_limit\",\"access_group_ids\",\"budget_reset_at\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"budget_id\",\"created_by\",\"settings_updated_at\",\"spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"router_settings\",\"litellm_changed_by\",\"spend\",\"allowed_routes\",\"tpd_limit\",\"model_spend\",\"expires\",\"budget_reset_at\",\"rpm_limit\",\"max_budget\",\"rotation_interval\",\"updated_at\",\"key_type\",\"key_rotation_at\",\"settings_updated_at\",\"id\",\"config\",\"last_active\",\"created_by\",\"project_id\",\"token\",\"created_at\",\"deleted_at\",\"permissions\",\"agent_id\",\"updated_by\",\"metadata\",\"team_id\",\"models\",\"key_alias\",\"deleted_by_api_key\",\"max_parallel_requests\",\"auto_rotate\",\"deleted_by\",\"budget_duration\",\"blocked\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"rotation_count\",\"user_id\",\"total_spend\",\"organization_id\",\"budget_id\",\"model_max_budget\",\"access_group_ids\",\"last_rotation_at\",\"budget_fallbacks\",\"aliases\",\"key_name\",\"object_permission_id\",\"policies\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"router_settings\",\"tpd_limit\",\"deleted_by\",\"token\",\"config\",\"deleted_by_api_key\",\"key_rotation_at\",\"rpm_limit\",\"budget_reset_at\",\"deleted_at\",\"max_parallel_requests\",\"total_spend\",\"updated_by\",\"soft_budget_cooldown\",\"agent_id\",\"last_rotation_at\",\"aliases\",\"model_max_budget\",\"id\",\"rotation_interval\",\"created_by\",\"rotation_count\",\"allowed_cache_controls\",\"key_name\",\"key_type\",\"auto_rotate\",\"permissions\",\"budget_fallbacks\",\"updated_at\",\"project_id\",\"key_alias\",\"tpm_limit\",\"last_active\",\"litellm_changed_by\",\"metadata\",\"allowed_routes\",\"object_permission_id\",\"created_at\",\"blocked\",\"settings_updated_at\",\"budget_id\",\"models\",\"policies\",\"access_group_ids\",\"team_id\",\"budget_duration\",\"user_id\",\"expires\",\"spend\",\"model_spend\",\"max_budget\",\"organization_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"settings_updated_at\",\"router_settings\",\"agent_id\",\"last_active\",\"spend\",\"models\",\"created_at\",\"allowed_cache_controls\",\"metadata\",\"user_id\",\"budget_id\",\"max_parallel_requests\",\"token\",\"organization_id\",\"budget_duration\",\"project_id\",\"key_alias\",\"blocked\",\"key_rotation_at\",\"rpm_limit\",\"access_group_ids\",\"budget_fallbacks\",\"team_id\",\"rotation_count\",\"tpd_limit\",\"aliases\",\"expires\",\"rotation_interval\",\"soft_budget_cooldown\",\"allowed_routes\",\"litellm_changed_by\",\"policies\",\"deleted_at\",\"deleted_by_api_key\",\"tpm_limit\",\"last_rotation_at\",\"updated_by\",\"created_by\",\"budget_reset_at\",\"config\",\"id\",\"model_spend\",\"permissions\",\"updated_at\",\"deleted_by\",\"max_budget\",\"model_max_budget\",\"object_permission_id\",\"key_type\",\"key_name\",\"total_spend\",\"auto_rotate\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"soft_budget_cooldown\",\"organization_id\",\"max_parallel_requests\",\"project_id\",\"max_budget\",\"aliases\",\"token\",\"team_id\",\"last_active\",\"created_at\",\"allowed_routes\",\"deleted_by_api_key\",\"tpm_limit\",\"agent_id\",\"router_settings\",\"rpm_limit\",\"models\",\"deleted_by\",\"rotation_count\",\"model_max_budget\",\"policies\",\"key_rotation_at\",\"config\",\"permissions\",\"id\",\"budget_id\",\"spend\",\"budget_duration\",\"key_alias\",\"rotation_interval\",\"last_rotation_at\",\"created_by\",\"model_spend\",\"user_id\",\"settings_updated_at\",\"updated_at\",\"object_permission_id\",\"expires\",\"deleted_at\",\"allowed_cache_controls\",\"key_type\",\"updated_by\",\"key_name\",\"budget_fallbacks\",\"tpd_limit\",\"auto_rotate\",\"metadata\",\"litellm_changed_by\",\"budget_reset_at\",\"total_spend\",\"access_group_ids\",\"blocked\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"team_id\",\"deleted_at\",\"key_alias\",\"tpm_limit\",\"model_spend\",\"key_name\",\"key_rotation_at\",\"agent_id\",\"blocked\",\"rpm_limit\",\"last_rotation_at\",\"updated_at\",\"object_permission_id\",\"last_active\",\"auto_rotate\",\"total_spend\",\"soft_budget_cooldown\",\"max_parallel_requests\",\"spend\",\"policies\",\"deleted_by\",\"rotation_interval\",\"allowed_cache_controls\",\"project_id\",\"allowed_routes\",\"model_max_budget\",\"aliases\",\"token\",\"budget_duration\",\"created_by\",\"key_type\",\"budget_reset_at\",\"settings_updated_at\",\"budget_id\",\"litellm_changed_by\",\"models\",\"metadata\",\"created_at\",\"expires\",\"id\",\"tpd_limit\",\"updated_by\",\"router_settings\",\"organization_id\",\"deleted_by_api_key\",\"user_id\",\"permissions\",\"access_group_ids\",\"max_budget\",\"rotation_count\",\"budget_fallbacks\",\"config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"token\",\"model_spend\",\"config\",\"metadata\",\"rotation_interval\",\"total_spend\",\"updated_at\",\"key_name\",\"aliases\",\"budget_id\",\"model_max_budget\",\"object_permission_id\",\"deleted_by_api_key\",\"key_rotation_at\",\"team_id\",\"rpm_limit\",\"budget_fallbacks\",\"auto_rotate\",\"created_at\",\"organization_id\",\"models\",\"budget_duration\",\"created_by\",\"budget_reset_at\",\"allowed_routes\",\"id\",\"tpm_limit\",\"settings_updated_at\",\"spend\",\"max_parallel_requests\",\"deleted_at\",\"project_id\",\"agent_id\",\"access_group_ids\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"key_type\",\"policies\",\"last_active\",\"permissions\",\"updated_by\",\"last_rotation_at\",\"router_settings\",\"deleted_by\",\"max_budget\",\"expires\",\"rotation_count\",\"litellm_changed_by\",\"user_id\",\"key_alias\",\"tpd_limit\",\"blocked\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"token\",\"user_id\",\"created_by\",\"key_type\",\"auto_rotate\",\"deleted_by\",\"key_rotation_at\",\"last_rotation_at\",\"last_active\",\"rotation_count\",\"blocked\",\"settings_updated_at\",\"updated_by\",\"key_alias\",\"policies\",\"updated_at\",\"max_parallel_requests\",\"rpm_limit\",\"deleted_at\",\"max_budget\",\"tpd_limit\",\"budget_id\",\"rotation_interval\",\"models\",\"metadata\",\"id\",\"allowed_cache_controls\",\"agent_id\",\"object_permission_id\",\"team_id\",\"budget_reset_at\",\"config\",\"project_id\",\"organization_id\",\"aliases\",\"tpm_limit\",\"total_spend\",\"router_settings\",\"budget_duration\",\"model_max_budget\",\"deleted_by_api_key\",\"key_name\",\"created_at\",\"allowed_routes\",\"litellm_changed_by\",\"spend\",\"expires\",\"budget_fallbacks\",\"permissions\",\"access_group_ids\",\"soft_budget_cooldown\",\"model_spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"tpm_limit\",\"created_by\",\"max_parallel_requests\",\"metadata\",\"team_id\",\"models\",\"updated_at\",\"rotation_count\",\"settings_updated_at\",\"budget_reset_at\",\"budget_duration\",\"key_name\",\"access_group_ids\",\"deleted_by\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"policies\",\"max_budget\",\"total_spend\",\"object_permission_id\",\"permissions\",\"created_at\",\"blocked\",\"litellm_changed_by\",\"last_active\",\"token\",\"router_settings\",\"soft_budget_cooldown\",\"project_id\",\"key_alias\",\"id\",\"allowed_routes\",\"tpd_limit\",\"budget_fallbacks\",\"rotation_interval\",\"model_max_budget\",\"updated_by\",\"config\",\"spend\",\"rpm_limit\",\"agent_id\",\"last_rotation_at\",\"key_type\",\"budget_id\",\"organization_id\",\"deleted_at\",\"key_rotation_at\",\"user_id\",\"auto_rotate\",\"expires\",\"aliases\",\"model_spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"access_group_ids\",\"policies\",\"created_by\",\"spend\",\"aliases\",\"token\",\"allowed_cache_controls\",\"blocked\",\"model_max_budget\",\"organization_id\",\"project_id\",\"rpm_limit\",\"rotation_count\",\"deleted_by_api_key\",\"metadata\",\"config\",\"updated_at\",\"id\",\"budget_fallbacks\",\"deleted_at\",\"tpd_limit\",\"router_settings\",\"model_spend\",\"litellm_changed_by\",\"settings_updated_at\",\"budget_duration\",\"key_type\",\"deleted_by\",\"user_id\",\"object_permission_id\",\"auto_rotate\",\"agent_id\",\"last_active\",\"max_parallel_requests\",\"key_alias\",\"models\",\"last_rotation_at\",\"allowed_routes\",\"permissions\",\"soft_budget_cooldown\",\"team_id\",\"key_name\",\"created_at\",\"budget_reset_at\",\"rotation_interval\",\"key_rotation_at\",\"budget_id\",\"expires\",\"max_budget\",\"total_spend\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"auto_rotate\",\"budget_fallbacks\",\"token\",\"object_permission_id\",\"max_budget\",\"allowed_routes\",\"permissions\",\"settings_updated_at\",\"blocked\",\"soft_budget_cooldown\",\"team_id\",\"deleted_by\",\"total_spend\",\"access_group_ids\",\"last_active\",\"tpd_limit\",\"rotation_interval\",\"organization_id\",\"model_spend\",\"rpm_limit\",\"budget_id\",\"models\",\"spend\",\"tpm_limit\",\"model_max_budget\",\"user_id\",\"project_id\",\"created_at\",\"id\",\"aliases\",\"key_rotation_at\",\"config\",\"budget_duration\",\"policies\",\"deleted_by_api_key\",\"created_by\",\"updated_at\",\"expires\",\"allowed_cache_controls\",\"agent_id\",\"budget_reset_at\",\"key_type\",\"rotation_count\",\"max_parallel_requests\",\"key_alias\",\"last_rotation_at\",\"metadata\",\"litellm_changed_by\",\"key_name\",\"deleted_at\",\"router_settings\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"config\",\"updated_at\",\"policies\",\"allowed_routes\",\"id\",\"aliases\",\"blocked\",\"token\",\"model_max_budget\",\"key_rotation_at\",\"expires\",\"key_type\",\"budget_fallbacks\",\"user_id\",\"last_rotation_at\",\"budget_id\",\"key_name\",\"rpm_limit\",\"settings_updated_at\",\"deleted_by\",\"max_budget\",\"budget_duration\",\"auto_rotate\",\"max_parallel_requests\",\"created_at\",\"object_permission_id\",\"router_settings\",\"allowed_cache_controls\",\"access_group_ids\",\"agent_id\",\"total_spend\",\"models\",\"soft_budget_cooldown\",\"project_id\",\"rotation_interval\",\"tpd_limit\",\"metadata\",\"budget_reset_at\",\"permissions\",\"key_alias\",\"tpm_limit\",\"deleted_by_api_key\",\"organization_id\",\"litellm_changed_by\",\"deleted_at\",\"team_id\",\"last_active\",\"created_by\",\"spend\",\"model_spend\",\"rotation_count\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"max_parallel_requests\",\"total_spend\",\"model_max_budget\",\"id\",\"rotation_count\",\"blocked\",\"router_settings\",\"user_id\",\"tpm_limit\",\"deleted_at\",\"budget_reset_at\",\"last_rotation_at\",\"aliases\",\"object_permission_id\",\"metadata\",\"key_name\",\"max_budget\",\"organization_id\",\"key_rotation_at\",\"allowed_routes\",\"access_group_ids\",\"budget_duration\",\"auto_rotate\",\"updated_at\",\"deleted_by\",\"tpd_limit\",\"policies\",\"team_id\",\"key_alias\",\"permissions\",\"config\",\"budget_id\",\"expires\",\"key_type\",\"deleted_by_api_key\",\"agent_id\",\"allowed_cache_controls\",\"model_spend\",\"project_id\",\"soft_budget_cooldown\",\"budget_fallbacks\",\"litellm_changed_by\",\"models\",\"settings_updated_at\",\"spend\",\"rpm_limit\",\"token\",\"created_by\",\"last_active\",\"created_at\",\"rotation_interval\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"user_id\",\"allowed_cache_controls\",\"budget_reset_at\",\"total_spend\",\"budget_fallbacks\",\"deleted_at\",\"metadata\",\"deleted_by\",\"key_alias\",\"auto_rotate\",\"team_id\",\"updated_at\",\"tpm_limit\",\"last_rotation_at\",\"blocked\",\"rpm_limit\",\"access_group_ids\",\"key_rotation_at\",\"organization_id\",\"permissions\",\"allowed_routes\",\"created_at\",\"key_type\",\"key_name\",\"tpd_limit\",\"max_budget\",\"soft_budget_cooldown\",\"object_permission_id\",\"updated_by\",\"router_settings\",\"aliases\",\"deleted_by_api_key\",\"max_parallel_requests\",\"id\",\"last_active\",\"rotation_count\",\"litellm_changed_by\",\"policies\",\"config\",\"expires\",\"project_id\",\"token\",\"budget_id\",\"spend\",\"settings_updated_at\",\"rotation_interval\",\"budget_duration\",\"model_max_budget\",\"model_spend\",\"created_by\",\"models\",\"agent_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"user_id\",\"permissions\",\"object_permission_id\",\"allowed_cache_controls\",\"rpm_limit\",\"team_id\",\"settings_updated_at\",\"budget_reset_at\",\"expires\",\"auto_rotate\",\"created_by\",\"blocked\",\"tpd_limit\",\"deleted_by_api_key\",\"tpm_limit\",\"key_type\",\"rotation_interval\",\"updated_by\",\"total_spend\",\"max_budget\",\"budget_duration\",\"metadata\",\"max_parallel_requests\",\"rotation_count\",\"deleted_by\",\"model_spend\",\"key_alias\",\"aliases\",\"organization_id\",\"config\",\"key_rotation_at\",\"budget_id\",\"deleted_at\",\"agent_id\",\"created_at\",\"project_id\",\"litellm_changed_by\",\"last_active\",\"access_group_ids\",\"allowed_routes\",\"budget_fallbacks\",\"id\",\"router_settings\",\"updated_at\",\"key_name\",\"policies\",\"token\",\"last_rotation_at\",\"soft_budget_cooldown\",\"models\",\"model_max_budget\",\"spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"file_object\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"file_object\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedObjectTable\" (\"id\",\"unified_object_id\",\"model_object_id\",\"file_object\",\"file_purpose\",\"status\",\"batch_processed\",\"created_at\",\"created_by\",\"team_id\",\"org_id\",\"api_key\",\"request_tags\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_object_id\") DO UPDATE SET \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_OrganizationTable\" (\"organization_id\",\"organization_alias\",\"budget_id\",\"metadata\",\"models\",\"spend\",\"model_spend\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" /* 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\" (\"agent_id\",\"call_type\",\"model_group\",\"organization_id\",\"api_base\",\"api_key\",\"model_id\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"completionStartTime\",\"response\",\"messages\",\"endTime\",\"total_tokens\",\"requester_ip_address\",\"cache_hit\",\"spend\",\"request_tags\",\"proxy_server_request\",\"status\",\"cache_key\",\"session_id\",\"litellm_call_id\",\"request_duration_ms\",\"metadata\",\"team_id\",\"model\",\"request_id\",\"end_user\",\"prompt_tokens\",\"completion_tokens\",\"startTime\",\"created_at\",\"updated_at\",\"user\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"cache_hit\",\"team_id\",\"completionStartTime\",\"metadata\",\"custom_llm_provider\",\"spend\",\"messages\",\"startTime\",\"prompt_tokens\",\"created_at\",\"request_tags\",\"proxy_server_request\",\"model_id\",\"agent_id\",\"total_tokens\",\"endTime\",\"requester_ip_address\",\"call_type\",\"session_id\",\"user\",\"model_group\",\"updated_at\",\"mcp_namespaced_tool_name\",\"status\",\"completion_tokens\",\"litellm_call_id\",\"request_duration_ms\",\"request_id\",\"response\",\"end_user\",\"model\",\"organization_id\",\"cache_key\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"session_id\",\"model_id\",\"completionStartTime\",\"startTime\",\"custom_llm_provider\",\"request_duration_ms\",\"created_at\",\"total_tokens\",\"endTime\",\"status\",\"user\",\"litellm_call_id\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"model_group\",\"updated_at\",\"api_key\",\"completion_tokens\",\"model\",\"call_type\",\"spend\",\"metadata\",\"request_id\",\"proxy_server_request\",\"response\",\"cache_key\",\"prompt_tokens\",\"end_user\",\"request_tags\",\"team_id\",\"agent_id\",\"messages\",\"organization_id\",\"requester_ip_address\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"spend\",\"team_id\",\"request_duration_ms\",\"created_at\",\"cache_hit\",\"total_tokens\",\"proxy_server_request\",\"status\",\"startTime\",\"endTime\",\"request_id\",\"cache_key\",\"model\",\"requester_ip_address\",\"api_key\",\"prompt_tokens\",\"messages\",\"user\",\"organization_id\",\"call_type\",\"end_user\",\"metadata\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"litellm_call_id\",\"model_group\",\"request_tags\",\"model_id\",\"response\",\"updated_at\",\"session_id\",\"agent_id\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"team_id\",\"spend\",\"prompt_tokens\",\"cache_key\",\"mcp_namespaced_tool_name\",\"status\",\"proxy_server_request\",\"request_id\",\"created_at\",\"agent_id\",\"metadata\",\"startTime\",\"model\",\"call_type\",\"request_duration_ms\",\"api_key\",\"total_tokens\",\"litellm_call_id\",\"endTime\",\"organization_id\",\"custom_llm_provider\",\"cache_hit\",\"end_user\",\"model_id\",\"completionStartTime\",\"user\",\"response\",\"session_id\",\"messages\",\"model_group\",\"request_tags\",\"requester_ip_address\",\"updated_at\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"user\",\"organization_id\",\"cache_key\",\"requester_ip_address\",\"prompt_tokens\",\"response\",\"model_id\",\"request_tags\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"created_at\",\"model_group\",\"total_tokens\",\"model\",\"completion_tokens\",\"proxy_server_request\",\"endTime\",\"api_key\",\"end_user\",\"session_id\",\"cache_hit\",\"litellm_call_id\",\"request_id\",\"metadata\",\"request_duration_ms\",\"startTime\",\"completionStartTime\",\"team_id\",\"status\",\"call_type\",\"agent_id\",\"spend\",\"messages\",\"updated_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"custom_llm_provider\",\"requester_ip_address\",\"messages\",\"request_tags\",\"endTime\",\"litellm_call_id\",\"proxy_server_request\",\"team_id\",\"request_duration_ms\",\"response\",\"metadata\",\"completion_tokens\",\"startTime\",\"end_user\",\"total_tokens\",\"cache_hit\",\"request_id\",\"call_type\",\"model_id\",\"organization_id\",\"user\",\"session_id\",\"model_group\",\"agent_id\",\"cache_key\",\"created_at\",\"spend\",\"completionStartTime\",\"status\",\"model\",\"mcp_namespaced_tool_name\",\"updated_at\",\"prompt_tokens\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"cache_key\",\"response\",\"request_tags\",\"status\",\"end_user\",\"session_id\",\"proxy_server_request\",\"team_id\",\"mcp_namespaced_tool_name\",\"api_key\",\"requester_ip_address\",\"model\",\"messages\",\"request_duration_ms\",\"call_type\",\"created_at\",\"model_group\",\"litellm_call_id\",\"custom_llm_provider\",\"api_base\",\"startTime\",\"model_id\",\"total_tokens\",\"organization_id\",\"completionStartTime\",\"spend\",\"cache_hit\",\"endTime\",\"request_id\",\"metadata\",\"agent_id\",\"completion_tokens\",\"prompt_tokens\",\"updated_at\",\"user\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"api_base\",\"requester_ip_address\",\"cache_key\",\"status\",\"completionStartTime\",\"request_tags\",\"session_id\",\"metadata\",\"request_id\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"cache_hit\",\"model_group\",\"team_id\",\"spend\",\"messages\",\"created_at\",\"endTime\",\"litellm_call_id\",\"custom_llm_provider\",\"total_tokens\",\"user\",\"request_duration_ms\",\"model_id\",\"proxy_server_request\",\"updated_at\",\"response\",\"agent_id\",\"completion_tokens\",\"end_user\",\"api_key\",\"startTime\",\"organization_id\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"response\",\"agent_id\",\"spend\",\"cache_key\",\"end_user\",\"user\",\"endTime\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"team_id\",\"metadata\",\"startTime\",\"total_tokens\",\"cache_hit\",\"prompt_tokens\",\"litellm_call_id\",\"request_duration_ms\",\"api_key\",\"created_at\",\"messages\",\"model\",\"organization_id\",\"status\",\"request_tags\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\",\"session_id\",\"completion_tokens\",\"request_id\",\"updated_at\",\"api_base\",\"requester_ip_address\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"session_id\",\"model_id\",\"mcp_namespaced_tool_name\",\"metadata\",\"updated_at\",\"request_duration_ms\",\"messages\",\"team_id\",\"prompt_tokens\",\"spend\",\"status\",\"end_user\",\"requester_ip_address\",\"api_key\",\"completion_tokens\",\"request_tags\",\"created_at\",\"model\",\"cache_hit\",\"litellm_call_id\",\"model_group\",\"completionStartTime\",\"user\",\"organization_id\",\"startTime\",\"endTime\",\"request_id\",\"agent_id\",\"total_tokens\",\"custom_llm_provider\",\"cache_key\",\"proxy_server_request\",\"api_base\",\"response\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"status\",\"total_tokens\",\"litellm_call_id\",\"cache_key\",\"custom_llm_provider\",\"request_id\",\"endTime\",\"completionStartTime\",\"spend\",\"model_id\",\"team_id\",\"updated_at\",\"prompt_tokens\",\"request_tags\",\"mcp_namespaced_tool_name\",\"metadata\",\"cache_hit\",\"session_id\",\"response\",\"agent_id\",\"model_group\",\"requester_ip_address\",\"request_duration_ms\",\"completion_tokens\",\"model\",\"organization_id\",\"created_at\",\"api_base\",\"messages\",\"startTime\",\"end_user\",\"api_key\",\"user\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"litellm_call_id\",\"session_id\",\"model_id\",\"request_duration_ms\",\"api_key\",\"completion_tokens\",\"response\",\"end_user\",\"endTime\",\"status\",\"cache_key\",\"request_id\",\"messages\",\"requester_ip_address\",\"model\",\"user\",\"startTime\",\"custom_llm_provider\",\"team_id\",\"model_group\",\"agent_id\",\"api_base\",\"created_at\",\"spend\",\"prompt_tokens\",\"request_tags\",\"updated_at\",\"total_tokens\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"metadata\",\"organization_id\",\"call_type\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"model_group\",\"spend\",\"model_id\",\"completion_tokens\",\"cache_key\",\"request_id\",\"proxy_server_request\",\"requester_ip_address\",\"created_at\",\"organization_id\",\"litellm_call_id\",\"status\",\"api_base\",\"session_id\",\"response\",\"messages\",\"team_id\",\"request_tags\",\"call_type\",\"total_tokens\",\"end_user\",\"startTime\",\"user\",\"request_duration_ms\",\"metadata\",\"cache_hit\",\"updated_at\",\"endTime\",\"mcp_namespaced_tool_name\",\"agent_id\",\"prompt_tokens\",\"model\",\"custom_llm_provider\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"prompt_tokens\",\"cache_key\",\"model_group\",\"proxy_server_request\",\"agent_id\",\"team_id\",\"updated_at\",\"request_tags\",\"endTime\",\"metadata\",\"session_id\",\"model_id\",\"spend\",\"total_tokens\",\"created_at\",\"user\",\"end_user\",\"response\",\"api_base\",\"call_type\",\"completion_tokens\",\"status\",\"requester_ip_address\",\"startTime\",\"custom_llm_provider\",\"request_id\",\"model\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"api_key\",\"organization_id\",\"cache_hit\",\"messages\",\"litellm_call_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"response\",\"spend\",\"metadata\",\"updated_at\",\"total_tokens\",\"api_base\",\"messages\",\"endTime\",\"model_id\",\"call_type\",\"cache_hit\",\"request_id\",\"agent_id\",\"custom_llm_provider\",\"prompt_tokens\",\"organization_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"model\",\"request_duration_ms\",\"litellm_call_id\",\"model_group\",\"request_tags\",\"user\",\"api_key\",\"completion_tokens\",\"session_id\",\"status\",\"requester_ip_address\",\"created_at\",\"cache_key\",\"startTime\",\"proxy_server_request\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"status\",\"created_at\",\"proxy_server_request\",\"total_tokens\",\"model_id\",\"updated_at\",\"agent_id\",\"endTime\",\"response\",\"model_group\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"organization_id\",\"model\",\"session_id\",\"metadata\",\"api_key\",\"custom_llm_provider\",\"completion_tokens\",\"requester_ip_address\",\"api_base\",\"spend\",\"user\",\"cache_key\",\"cache_hit\",\"team_id\",\"prompt_tokens\",\"end_user\",\"request_tags\",\"messages\",\"request_duration_ms\",\"startTime\",\"call_type\",\"request_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"metadata\",\"request_duration_ms\",\"organization_id\",\"created_at\",\"model\",\"status\",\"proxy_server_request\",\"team_id\",\"mcp_namespaced_tool_name\",\"messages\",\"session_id\",\"call_type\",\"api_base\",\"completionStartTime\",\"litellm_call_id\",\"api_key\",\"agent_id\",\"end_user\",\"request_tags\",\"total_tokens\",\"model_group\",\"startTime\",\"user\",\"spend\",\"updated_at\",\"response\",\"cache_key\",\"custom_llm_provider\",\"endTime\",\"model_id\",\"request_id\",\"prompt_tokens\",\"requester_ip_address\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"cache_hit\",\"metadata\",\"session_id\",\"model_group\",\"messages\",\"litellm_call_id\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"api_key\",\"spend\",\"model_id\",\"organization_id\",\"agent_id\",\"api_base\",\"call_type\",\"model\",\"user\",\"total_tokens\",\"custom_llm_provider\",\"completionStartTime\",\"team_id\",\"requester_ip_address\",\"proxy_server_request\",\"startTime\",\"end_user\",\"request_tags\",\"request_duration_ms\",\"endTime\",\"updated_at\",\"cache_key\",\"response\",\"completion_tokens\",\"request_id\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"startTime\",\"spend\",\"total_tokens\",\"organization_id\",\"user\",\"team_id\",\"metadata\",\"cache_key\",\"request_duration_ms\",\"messages\",\"endTime\",\"litellm_call_id\",\"api_key\",\"completionStartTime\",\"session_id\",\"agent_id\",\"cache_hit\",\"call_type\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"response\",\"model_id\",\"prompt_tokens\",\"updated_at\",\"end_user\",\"requester_ip_address\",\"model_group\",\"completion_tokens\",\"request_tags\",\"proxy_server_request\",\"api_base\",\"request_id\",\"status\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"call_type\",\"proxy_server_request\",\"startTime\",\"completion_tokens\",\"request_id\",\"api_key\",\"prompt_tokens\",\"created_at\",\"request_tags\",\"user\",\"messages\",\"completionStartTime\",\"model\",\"updated_at\",\"organization_id\",\"model_group\",\"end_user\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"status\",\"response\",\"cache_key\",\"cache_hit\",\"spend\",\"session_id\",\"total_tokens\",\"agent_id\",\"model_id\",\"requester_ip_address\",\"endTime\",\"litellm_call_id\",\"team_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"litellm_call_id\",\"prompt_tokens\",\"completion_tokens\",\"startTime\",\"proxy_server_request\",\"model_group\",\"requester_ip_address\",\"total_tokens\",\"endTime\",\"organization_id\",\"completionStartTime\",\"request_tags\",\"agent_id\",\"user\",\"status\",\"team_id\",\"model_id\",\"messages\",\"end_user\",\"api_key\",\"model\",\"request_id\",\"spend\",\"cache_hit\",\"created_at\",\"call_type\",\"response\",\"api_base\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"session_id\",\"updated_at\",\"cache_key\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"response\",\"prompt_tokens\",\"request_duration_ms\",\"endTime\",\"agent_id\",\"startTime\",\"mcp_namespaced_tool_name\",\"organization_id\",\"cache_key\",\"request_tags\",\"user\",\"total_tokens\",\"spend\",\"session_id\",\"metadata\",\"requester_ip_address\",\"request_id\",\"model_group\",\"completion_tokens\",\"model\",\"messages\",\"model_id\",\"litellm_call_id\",\"end_user\",\"team_id\",\"updated_at\",\"created_at\",\"cache_hit\",\"api_base\",\"api_key\",\"status\",\"proxy_server_request\",\"call_type\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"model_id\",\"startTime\",\"call_type\",\"organization_id\",\"updated_at\",\"spend\",\"api_base\",\"response\",\"metadata\",\"litellm_call_id\",\"agent_id\",\"end_user\",\"requester_ip_address\",\"messages\",\"cache_key\",\"completionStartTime\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"session_id\",\"api_key\",\"request_duration_ms\",\"request_id\",\"created_at\",\"team_id\",\"custom_llm_provider\",\"total_tokens\",\"completion_tokens\",\"prompt_tokens\",\"request_tags\",\"model\",\"user\",\"cache_hit\",\"status\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"request_duration_ms\",\"completionStartTime\",\"spend\",\"request_tags\",\"model_id\",\"proxy_server_request\",\"agent_id\",\"status\",\"api_key\",\"end_user\",\"call_type\",\"mcp_namespaced_tool_name\",\"completion_tokens\",\"startTime\",\"team_id\",\"metadata\",\"updated_at\",\"model\",\"response\",\"organization_id\",\"requester_ip_address\",\"custom_llm_provider\",\"api_base\",\"cache_key\",\"created_at\",\"litellm_call_id\",\"messages\",\"user\",\"session_id\",\"model_group\",\"prompt_tokens\",\"request_id\",\"cache_hit\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"agent_id\",\"completion_tokens\",\"request_tags\",\"metadata\",\"updated_at\",\"model_id\",\"user\",\"startTime\",\"session_id\",\"created_at\",\"total_tokens\",\"organization_id\",\"request_id\",\"completionStartTime\",\"response\",\"requester_ip_address\",\"api_key\",\"proxy_server_request\",\"status\",\"messages\",\"cache_key\",\"request_duration_ms\",\"call_type\",\"model\",\"cache_hit\",\"api_base\",\"mcp_namespaced_tool_name\",\"endTime\",\"litellm_call_id\",\"model_group\",\"team_id\",\"spend\",\"custom_llm_provider\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"completionStartTime\",\"model\",\"response\",\"cache_hit\",\"status\",\"request_id\",\"completion_tokens\",\"user\",\"metadata\",\"api_base\",\"cache_key\",\"startTime\",\"endTime\",\"organization_id\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"model_group\",\"messages\",\"api_key\",\"created_at\",\"prompt_tokens\",\"team_id\",\"requester_ip_address\",\"agent_id\",\"spend\",\"request_tags\",\"session_id\",\"total_tokens\",\"litellm_call_id\",\"call_type\",\"model_id\",\"updated_at\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"prompt_tokens\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"organization_id\",\"call_type\",\"model_group\",\"response\",\"updated_at\",\"custom_llm_provider\",\"endTime\",\"completionStartTime\",\"startTime\",\"proxy_server_request\",\"spend\",\"total_tokens\",\"created_at\",\"completion_tokens\",\"session_id\",\"request_duration_ms\",\"litellm_call_id\",\"api_base\",\"status\",\"agent_id\",\"user\",\"model\",\"cache_hit\",\"cache_key\",\"request_id\",\"team_id\",\"api_key\",\"metadata\",\"mcp_namespaced_tool_name\",\"messages\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"total_tokens\",\"user\",\"request_tags\",\"metadata\",\"custom_llm_provider\",\"status\",\"completionStartTime\",\"cache_key\",\"agent_id\",\"session_id\",\"created_at\",\"requester_ip_address\",\"team_id\",\"organization_id\",\"response\",\"model_id\",\"litellm_call_id\",\"request_id\",\"prompt_tokens\",\"proxy_server_request\",\"api_key\",\"messages\",\"request_duration_ms\",\"startTime\",\"completion_tokens\",\"call_type\",\"model\",\"mcp_namespaced_tool_name\",\"endTime\",\"cache_hit\",\"updated_at\",\"api_base\",\"spend\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"litellm_call_id\",\"messages\",\"model\",\"requester_ip_address\",\"session_id\",\"cache_key\",\"organization_id\",\"completion_tokens\",\"team_id\",\"custom_llm_provider\",\"api_key\",\"startTime\",\"end_user\",\"total_tokens\",\"updated_at\",\"endTime\",\"response\",\"proxy_server_request\",\"user\",\"metadata\",\"request_id\",\"request_duration_ms\",\"model_group\",\"api_base\",\"mcp_namespaced_tool_name\",\"spend\",\"request_tags\",\"model_id\",\"cache_hit\",\"prompt_tokens\",\"created_at\",\"completionStartTime\",\"agent_id\",\"call_type\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"messages\",\"custom_llm_provider\",\"cache_key\",\"completion_tokens\",\"end_user\",\"updated_at\",\"total_tokens\",\"response\",\"startTime\",\"user\",\"api_base\",\"status\",\"created_at\",\"model\",\"session_id\",\"model_group\",\"proxy_server_request\",\"cache_hit\",\"model_id\",\"call_type\",\"agent_id\",\"spend\",\"requester_ip_address\",\"api_key\",\"organization_id\",\"endTime\",\"request_tags\",\"completionStartTime\",\"request_id\",\"metadata\",\"prompt_tokens\",\"litellm_call_id\",\"team_id\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"messages\",\"prompt_tokens\",\"spend\",\"total_tokens\",\"model_id\",\"litellm_call_id\",\"requester_ip_address\",\"cache_key\",\"endTime\",\"team_id\",\"session_id\",\"api_base\",\"updated_at\",\"cache_hit\",\"response\",\"call_type\",\"organization_id\",\"proxy_server_request\",\"status\",\"created_at\",\"user\",\"startTime\",\"request_duration_ms\",\"agent_id\",\"metadata\",\"completionStartTime\",\"end_user\",\"model\",\"completion_tokens\",\"api_key\",\"mcp_namespaced_tool_name\",\"request_tags\",\"request_id\",\"custom_llm_provider\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"messages\",\"user\",\"call_type\",\"end_user\",\"api_key\",\"completion_tokens\",\"metadata\",\"endTime\",\"organization_id\",\"mcp_namespaced_tool_name\",\"model_group\",\"request_duration_ms\",\"session_id\",\"created_at\",\"spend\",\"agent_id\",\"api_base\",\"startTime\",\"status\",\"completionStartTime\",\"litellm_call_id\",\"cache_key\",\"cache_hit\",\"request_id\",\"model_id\",\"requester_ip_address\",\"response\",\"updated_at\",\"proxy_server_request\",\"request_tags\",\"prompt_tokens\",\"total_tokens\",\"team_id\",\"custom_llm_provider\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"metadata\",\"proxy_server_request\",\"api_key\",\"total_tokens\",\"request_duration_ms\",\"prompt_tokens\",\"endTime\",\"custom_llm_provider\",\"call_type\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"team_id\",\"model_group\",\"user\",\"startTime\",\"spend\",\"completion_tokens\",\"end_user\",\"request_id\",\"agent_id\",\"response\",\"organization_id\",\"litellm_call_id\",\"updated_at\",\"model\",\"cache_key\",\"completionStartTime\",\"created_at\",\"model_id\",\"requester_ip_address\",\"messages\",\"session_id\",\"status\",\"request_tags\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model\",\"metadata\",\"api_base\",\"litellm_call_id\",\"model_group\",\"model_id\",\"mcp_namespaced_tool_name\",\"cache_key\",\"call_type\",\"api_key\",\"agent_id\",\"session_id\",\"custom_llm_provider\",\"updated_at\",\"request_id\",\"created_at\",\"prompt_tokens\",\"status\",\"request_tags\",\"completionStartTime\",\"messages\",\"startTime\",\"requester_ip_address\",\"spend\",\"proxy_server_request\",\"total_tokens\",\"organization_id\",\"team_id\",\"end_user\",\"completion_tokens\",\"endTime\",\"cache_hit\",\"user\",\"request_duration_ms\",\"response\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model\",\"prompt_tokens\",\"request_id\",\"api_key\",\"end_user\",\"spend\",\"total_tokens\",\"session_id\",\"organization_id\",\"request_duration_ms\",\"created_at\",\"api_base\",\"litellm_call_id\",\"status\",\"metadata\",\"updated_at\",\"completion_tokens\",\"requester_ip_address\",\"user\",\"cache_hit\",\"messages\",\"call_type\",\"endTime\",\"response\",\"team_id\",\"request_tags\",\"model_group\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\",\"agent_id\",\"cache_key\",\"mcp_namespaced_tool_name\",\"completionStartTime\",\"startTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"end_user\",\"cache_hit\",\"completionStartTime\",\"agent_id\",\"requester_ip_address\",\"request_duration_ms\",\"status\",\"response\",\"created_at\",\"startTime\",\"cache_key\",\"messages\",\"model_id\",\"request_tags\",\"team_id\",\"completion_tokens\",\"user\",\"total_tokens\",\"spend\",\"session_id\",\"litellm_call_id\",\"call_type\",\"organization_id\",\"custom_llm_provider\",\"endTime\",\"mcp_namespaced_tool_name\",\"updated_at\",\"api_base\",\"proxy_server_request\",\"prompt_tokens\",\"request_id\",\"api_key\",\"metadata\",\"model\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"messages\",\"model_id\",\"request_id\",\"mcp_namespaced_tool_name\",\"status\",\"spend\",\"api_key\",\"endTime\",\"custom_llm_provider\",\"completion_tokens\",\"api_base\",\"created_at\",\"request_tags\",\"call_type\",\"metadata\",\"team_id\",\"updated_at\",\"model\",\"proxy_server_request\",\"request_duration_ms\",\"user\",\"response\",\"litellm_call_id\",\"completionStartTime\",\"session_id\",\"cache_key\",\"agent_id\",\"startTime\",\"end_user\",\"total_tokens\",\"prompt_tokens\",\"organization_id\",\"requester_ip_address\",\"cache_hit\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_id\",\"messages\",\"requester_ip_address\",\"request_id\",\"mcp_namespaced_tool_name\",\"startTime\",\"endTime\",\"proxy_server_request\",\"prompt_tokens\",\"completion_tokens\",\"model_group\",\"api_key\",\"model\",\"end_user\",\"cache_key\",\"api_base\",\"updated_at\",\"request_duration_ms\",\"total_tokens\",\"session_id\",\"litellm_call_id\",\"request_tags\",\"user\",\"status\",\"completionStartTime\",\"metadata\",\"created_at\",\"response\",\"custom_llm_provider\",\"team_id\",\"cache_hit\",\"organization_id\",\"spend\",\"call_type\",\"agent_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_id\",\"total_tokens\",\"cache_hit\",\"spend\",\"user\",\"completion_tokens\",\"request_duration_ms\",\"end_user\",\"status\",\"litellm_call_id\",\"created_at\",\"prompt_tokens\",\"call_type\",\"team_id\",\"endTime\",\"custom_llm_provider\",\"updated_at\",\"api_key\",\"proxy_server_request\",\"model_group\",\"api_base\",\"messages\",\"cache_key\",\"response\",\"metadata\",\"requester_ip_address\",\"agent_id\",\"mcp_namespaced_tool_name\",\"request_tags\",\"completionStartTime\",\"model\",\"organization_id\",\"session_id\",\"startTime\",\"request_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"custom_llm_provider\",\"startTime\",\"updated_at\",\"request_duration_ms\",\"call_type\",\"completionStartTime\",\"agent_id\",\"total_tokens\",\"user\",\"litellm_call_id\",\"completion_tokens\",\"api_base\",\"end_user\",\"created_at\",\"organization_id\",\"status\",\"model\",\"cache_key\",\"model_group\",\"endTime\",\"team_id\",\"session_id\",\"request_id\",\"proxy_server_request\",\"metadata\",\"api_key\",\"request_tags\",\"model_id\",\"requester_ip_address\",\"spend\",\"messages\",\"response\",\"mcp_namespaced_tool_name\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"api_key\",\"end_user\",\"prompt_tokens\",\"request_tags\",\"total_tokens\",\"messages\",\"litellm_call_id\",\"call_type\",\"api_base\",\"session_id\",\"created_at\",\"agent_id\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"response\",\"cache_key\",\"completion_tokens\",\"request_id\",\"endTime\",\"metadata\",\"model\",\"model_id\",\"team_id\",\"updated_at\",\"completionStartTime\",\"model_group\",\"requester_ip_address\",\"spend\",\"startTime\",\"user\",\"request_duration_ms\",\"custom_llm_provider\",\"status\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"custom_llm_provider\",\"request_tags\",\"litellm_call_id\",\"api_key\",\"request_id\",\"request_duration_ms\",\"status\",\"response\",\"metadata\",\"session_id\",\"call_type\",\"end_user\",\"endTime\",\"api_base\",\"startTime\",\"created_at\",\"model\",\"completion_tokens\",\"agent_id\",\"requester_ip_address\",\"model_id\",\"completionStartTime\",\"messages\",\"user\",\"updated_at\",\"prompt_tokens\",\"total_tokens\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"model_group\",\"spend\",\"team_id\",\"organization_id\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"metadata\",\"request_tags\",\"agent_id\",\"cache_key\",\"completion_tokens\",\"request_duration_ms\",\"session_id\",\"call_type\",\"end_user\",\"endTime\",\"cache_hit\",\"startTime\",\"requester_ip_address\",\"completionStartTime\",\"status\",\"created_at\",\"team_id\",\"api_base\",\"total_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"organization_id\",\"messages\",\"spend\",\"model_id\",\"request_id\",\"updated_at\",\"model\",\"api_key\",\"user\",\"model_group\",\"response\",\"prompt_tokens\") VALUES ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"model_group\",\"response\",\"custom_llm_provider\",\"metadata\",\"prompt_tokens\",\"litellm_call_id\",\"model\",\"team_id\",\"total_tokens\",\"end_user\",\"cache_hit\",\"completion_tokens\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"completionStartTime\",\"messages\",\"mcp_namespaced_tool_name\",\"request_id\",\"status\",\"agent_id\",\"startTime\",\"organization_id\",\"created_at\",\"endTime\",\"cache_key\",\"request_duration_ms\",\"session_id\",\"api_base\",\"updated_at\",\"spend\",\"user\",\"call_type\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"custom_llm_provider\",\"completion_tokens\",\"messages\",\"total_tokens\",\"response\",\"updated_at\",\"model\",\"status\",\"created_at\",\"api_base\",\"session_id\",\"completionStartTime\",\"request_duration_ms\",\"mcp_namespaced_tool_name\",\"call_type\",\"proxy_server_request\",\"metadata\",\"request_tags\",\"agent_id\",\"user\",\"cache_hit\",\"api_key\",\"team_id\",\"endTime\",\"spend\",\"litellm_call_id\",\"model_group\",\"startTime\",\"cache_key\",\"requester_ip_address\",\"prompt_tokens\",\"organization_id\",\"model_id\",\"end_user\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"organization_id\",\"request_tags\",\"model_id\",\"api_key\",\"team_id\",\"end_user\",\"completion_tokens\",\"startTime\",\"model_group\",\"spend\",\"requester_ip_address\",\"created_at\",\"completionStartTime\",\"model\",\"cache_key\",\"total_tokens\",\"metadata\",\"mcp_namespaced_tool_name\",\"user\",\"status\",\"custom_llm_provider\",\"prompt_tokens\",\"proxy_server_request\",\"cache_hit\",\"litellm_call_id\",\"response\",\"updated_at\",\"session_id\",\"agent_id\",\"request_duration_ms\",\"api_base\",\"call_type\",\"endTime\",\"messages\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"startTime\",\"requester_ip_address\",\"messages\",\"model_group\",\"completion_tokens\",\"model\",\"metadata\",\"created_at\",\"cache_hit\",\"session_id\",\"response\",\"team_id\",\"request_tags\",\"model_id\",\"user\",\"endTime\",\"proxy_server_request\",\"status\",\"organization_id\",\"custom_llm_provider\",\"cache_key\",\"call_type\",\"end_user\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"api_base\",\"prompt_tokens\",\"api_key\",\"updated_at\",\"total_tokens\",\"spend\",\"litellm_call_id\",\"agent_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"cache_hit\",\"status\",\"litellm_call_id\",\"messages\",\"request_duration_ms\",\"cache_key\",\"metadata\",\"api_key\",\"agent_id\",\"completionStartTime\",\"response\",\"api_base\",\"model\",\"model_group\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"created_at\",\"total_tokens\",\"organization_id\",\"startTime\",\"updated_at\",\"custom_llm_provider\",\"team_id\",\"endTime\",\"proxy_server_request\",\"spend\",\"completion_tokens\",\"user\",\"request_id\",\"prompt_tokens\",\"end_user\",\"call_type\",\"session_id\",\"model_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"model_group\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"spend\",\"metadata\",\"user\",\"custom_llm_provider\",\"prompt_tokens\",\"proxy_server_request\",\"cache_hit\",\"team_id\",\"updated_at\",\"litellm_call_id\",\"session_id\",\"model_id\",\"completionStartTime\",\"agent_id\",\"api_base\",\"cache_key\",\"completion_tokens\",\"request_duration_ms\",\"request_id\",\"model\",\"end_user\",\"created_at\",\"status\",\"startTime\",\"endTime\",\"response\",\"messages\",\"total_tokens\",\"organization_id\",\"api_key\",\"call_type\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_duration_ms\",\"end_user\",\"spend\",\"litellm_call_id\",\"total_tokens\",\"mcp_namespaced_tool_name\",\"updated_at\",\"created_at\",\"model\",\"model_group\",\"endTime\",\"api_key\",\"cache_hit\",\"custom_llm_provider\",\"call_type\",\"response\",\"cache_key\",\"metadata\",\"agent_id\",\"session_id\",\"team_id\",\"api_base\",\"completionStartTime\",\"startTime\",\"requester_ip_address\",\"user\",\"messages\",\"request_id\",\"proxy_server_request\",\"organization_id\",\"prompt_tokens\",\"model_id\",\"status\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_duration_ms\",\"response\",\"request_id\",\"call_type\",\"requester_ip_address\",\"created_at\",\"end_user\",\"cache_hit\",\"endTime\",\"model\",\"messages\",\"startTime\",\"completionStartTime\",\"status\",\"completion_tokens\",\"agent_id\",\"organization_id\",\"prompt_tokens\",\"metadata\",\"updated_at\",\"custom_llm_provider\",\"user\",\"session_id\",\"mcp_namespaced_tool_name\",\"team_id\",\"api_base\",\"spend\",\"api_key\",\"litellm_call_id\",\"model_id\",\"cache_key\",\"proxy_server_request\",\"model_group\",\"total_tokens\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_id\",\"endTime\",\"custom_llm_provider\",\"completion_tokens\",\"request_duration_ms\",\"total_tokens\",\"cache_hit\",\"proxy_server_request\",\"requester_ip_address\",\"model_id\",\"organization_id\",\"spend\",\"mcp_namespaced_tool_name\",\"startTime\",\"api_base\",\"prompt_tokens\",\"metadata\",\"team_id\",\"agent_id\",\"completionStartTime\",\"updated_at\",\"status\",\"end_user\",\"model\",\"call_type\",\"created_at\",\"api_key\",\"litellm_call_id\",\"user\",\"session_id\",\"response\",\"messages\",\"model_group\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"api_base\",\"request_duration_ms\",\"call_type\",\"status\",\"litellm_call_id\",\"model_id\",\"custom_llm_provider\",\"metadata\",\"session_id\",\"agent_id\",\"model_group\",\"response\",\"user\",\"completionStartTime\",\"prompt_tokens\",\"endTime\",\"spend\",\"completion_tokens\",\"messages\",\"request_id\",\"startTime\",\"end_user\",\"updated_at\",\"mcp_namespaced_tool_name\",\"model\",\"cache_key\",\"created_at\",\"proxy_server_request\",\"team_id\",\"total_tokens\",\"organization_id\",\"cache_hit\",\"request_tags\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"endTime\",\"custom_llm_provider\",\"metadata\",\"session_id\",\"request_duration_ms\",\"spend\",\"user\",\"mcp_namespaced_tool_name\",\"call_type\",\"model_group\",\"litellm_call_id\",\"cache_hit\",\"total_tokens\",\"prompt_tokens\",\"messages\",\"completionStartTime\",\"updated_at\",\"model\",\"created_at\",\"team_id\",\"organization_id\",\"request_tags\",\"completion_tokens\",\"end_user\",\"response\",\"model_id\",\"cache_key\",\"agent_id\",\"startTime\",\"status\",\"proxy_server_request\",\"api_base\",\"request_id\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"agent_id\",\"request_tags\",\"litellm_call_id\",\"requester_ip_address\",\"metadata\",\"endTime\",\"cache_key\",\"messages\",\"user\",\"completion_tokens\",\"model\",\"prompt_tokens\",\"startTime\",\"cache_hit\",\"proxy_server_request\",\"session_id\",\"api_key\",\"status\",\"call_type\",\"end_user\",\"completionStartTime\",\"created_at\",\"updated_at\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"request_id\",\"api_base\",\"organization_id\",\"model_group\",\"total_tokens\",\"team_id\",\"model_id\",\"custom_llm_provider\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"request_duration_ms\",\"request_tags\",\"model\",\"api_key\",\"custom_llm_provider\",\"requester_ip_address\",\"team_id\",\"cache_key\",\"user\",\"mcp_namespaced_tool_name\",\"model_group\",\"messages\",\"updated_at\",\"response\",\"startTime\",\"end_user\",\"created_at\",\"cache_hit\",\"metadata\",\"litellm_call_id\",\"proxy_server_request\",\"request_id\",\"status\",\"spend\",\"organization_id\",\"model_id\",\"endTime\",\"call_type\",\"completion_tokens\",\"prompt_tokens\",\"total_tokens\",\"completionStartTime\",\"agent_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"total_tokens\",\"litellm_call_id\",\"completion_tokens\",\"proxy_server_request\",\"updated_at\",\"requester_ip_address\",\"user\",\"created_at\",\"team_id\",\"completionStartTime\",\"response\",\"messages\",\"status\",\"request_duration_ms\",\"model_id\",\"spend\",\"api_key\",\"call_type\",\"cache_key\",\"end_user\",\"request_id\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"prompt_tokens\",\"api_base\",\"organization_id\",\"agent_id\",\"endTime\",\"model\",\"custom_llm_provider\",\"metadata\",\"startTime\",\"model_group\",\"request_tags\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"custom_llm_provider\",\"session_id\",\"updated_at\",\"request_id\",\"cache_hit\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"metadata\",\"status\",\"end_user\",\"request_tags\",\"api_key\",\"completion_tokens\",\"call_type\",\"team_id\",\"request_duration_ms\",\"messages\",\"created_at\",\"requester_ip_address\",\"api_base\",\"endTime\",\"litellm_call_id\",\"proxy_server_request\",\"model_id\",\"agent_id\",\"total_tokens\",\"model\",\"completionStartTime\",\"response\",\"user\",\"startTime\",\"model_group\",\"cache_key\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"model\",\"updated_at\",\"mcp_namespaced_tool_name\",\"messages\",\"user\",\"requester_ip_address\",\"completionStartTime\",\"request_id\",\"agent_id\",\"organization_id\",\"endTime\",\"total_tokens\",\"model_id\",\"api_key\",\"session_id\",\"api_base\",\"request_duration_ms\",\"team_id\",\"litellm_call_id\",\"status\",\"custom_llm_provider\",\"end_user\",\"model_group\",\"created_at\",\"startTime\",\"metadata\",\"request_tags\",\"response\",\"proxy_server_request\",\"prompt_tokens\",\"cache_key\",\"completion_tokens\",\"call_type\",\"cache_hit\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"updated_at\",\"user\",\"completion_tokens\",\"prompt_tokens\",\"model_group\",\"organization_id\",\"request_tags\",\"api_key\",\"messages\",\"team_id\",\"end_user\",\"cache_key\",\"proxy_server_request\",\"completionStartTime\",\"session_id\",\"created_at\",\"status\",\"litellm_call_id\",\"call_type\",\"model\",\"request_duration_ms\",\"metadata\",\"startTime\",\"request_id\",\"custom_llm_provider\",\"response\",\"total_tokens\",\"agent_id\",\"model_id\",\"api_base\",\"endTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"user\",\"team_id\",\"agent_id\",\"session_id\",\"request_id\",\"cache_hit\",\"end_user\",\"call_type\",\"created_at\",\"request_tags\",\"completionStartTime\",\"response\",\"prompt_tokens\",\"litellm_call_id\",\"model_group\",\"custom_llm_provider\",\"model\",\"completion_tokens\",\"proxy_server_request\",\"endTime\",\"organization_id\",\"messages\",\"mcp_namespaced_tool_name\",\"api_base\",\"api_key\",\"metadata\",\"updated_at\",\"model_id\",\"status\",\"request_duration_ms\",\"startTime\",\"cache_key\",\"requester_ip_address\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"proxy_server_request\",\"user\",\"created_at\",\"requester_ip_address\",\"metadata\",\"endTime\",\"api_key\",\"request_tags\",\"organization_id\",\"status\",\"total_tokens\",\"model\",\"cache_hit\",\"updated_at\",\"request_duration_ms\",\"prompt_tokens\",\"end_user\",\"spend\",\"messages\",\"response\",\"api_base\",\"model_id\",\"cache_key\",\"custom_llm_provider\",\"request_id\",\"mcp_namespaced_tool_name\",\"model_group\",\"call_type\",\"litellm_call_id\",\"session_id\",\"completion_tokens\",\"team_id\",\"agent_id\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"status\",\"end_user\",\"model_group\",\"organization_id\",\"request_id\",\"requester_ip_address\",\"cache_key\",\"metadata\",\"model_id\",\"messages\",\"completion_tokens\",\"spend\",\"request_duration_ms\",\"user\",\"model\",\"call_type\",\"proxy_server_request\",\"created_at\",\"litellm_call_id\",\"session_id\",\"total_tokens\",\"updated_at\",\"custom_llm_provider\",\"request_tags\",\"endTime\",\"team_id\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"api_key\",\"response\",\"prompt_tokens\",\"agent_id\",\"api_base\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"metadata\",\"team_id\",\"mcp_namespaced_tool_name\",\"endTime\",\"messages\",\"api_key\",\"session_id\",\"total_tokens\",\"litellm_call_id\",\"custom_llm_provider\",\"response\",\"requester_ip_address\",\"completionStartTime\",\"prompt_tokens\",\"model_id\",\"end_user\",\"agent_id\",\"request_id\",\"startTime\",\"cache_hit\",\"api_base\",\"created_at\",\"request_duration_ms\",\"request_tags\",\"completion_tokens\",\"model_group\",\"updated_at\",\"cache_key\",\"proxy_server_request\",\"organization_id\",\"model\",\"user\",\"spend\",\"call_type\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"total_tokens\",\"model_group\",\"session_id\",\"api_key\",\"model_id\",\"end_user\",\"requester_ip_address\",\"completionStartTime\",\"cache_hit\",\"messages\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_tags\",\"user\",\"cache_key\",\"startTime\",\"call_type\",\"request_id\",\"spend\",\"endTime\",\"updated_at\",\"completion_tokens\",\"model\",\"agent_id\",\"created_at\",\"prompt_tokens\",\"api_base\",\"organization_id\",\"litellm_call_id\",\"request_duration_ms\",\"response\",\"custom_llm_provider\",\"team_id\",\"proxy_server_request\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"cache_key\",\"total_tokens\",\"completion_tokens\",\"request_tags\",\"model_group\",\"agent_id\",\"api_base\",\"requester_ip_address\",\"cache_hit\",\"endTime\",\"api_key\",\"completionStartTime\",\"spend\",\"proxy_server_request\",\"user\",\"model\",\"mcp_namespaced_tool_name\",\"metadata\",\"model_id\",\"end_user\",\"request_id\",\"session_id\",\"call_type\",\"messages\",\"response\",\"organization_id\",\"updated_at\",\"request_duration_ms\",\"custom_llm_provider\",\"created_at\",\"startTime\",\"prompt_tokens\",\"litellm_call_id\",\"status\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"completion_tokens\",\"endTime\",\"api_base\",\"completionStartTime\",\"spend\",\"mcp_namespaced_tool_name\",\"cache_key\",\"call_type\",\"request_id\",\"user\",\"proxy_server_request\",\"updated_at\",\"api_key\",\"created_at\",\"custom_llm_provider\",\"agent_id\",\"session_id\",\"total_tokens\",\"cache_hit\",\"status\",\"organization_id\",\"request_tags\",\"model\",\"prompt_tokens\",\"response\",\"litellm_call_id\",\"startTime\",\"model_id\",\"model_group\",\"metadata\",\"requester_ip_address\",\"request_duration_ms\",\"end_user\",\"messages\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"metadata\",\"end_user\",\"response\",\"model\",\"status\",\"session_id\",\"startTime\",\"custom_llm_provider\",\"model_id\",\"litellm_call_id\",\"organization_id\",\"cache_key\",\"spend\",\"completion_tokens\",\"request_duration_ms\",\"proxy_server_request\",\"model_group\",\"endTime\",\"messages\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"request_tags\",\"api_key\",\"user\",\"completionStartTime\",\"call_type\",\"created_at\",\"prompt_tokens\",\"total_tokens\",\"updated_at\",\"agent_id\",\"request_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"proxy_server_request\",\"total_tokens\",\"request_id\",\"api_base\",\"endTime\",\"cache_key\",\"session_id\",\"spend\",\"prompt_tokens\",\"end_user\",\"mcp_namespaced_tool_name\",\"response\",\"organization_id\",\"model_group\",\"startTime\",\"cache_hit\",\"agent_id\",\"litellm_call_id\",\"messages\",\"completionStartTime\",\"requester_ip_address\",\"api_key\",\"model\",\"user\",\"request_duration_ms\",\"status\",\"model_id\",\"custom_llm_provider\",\"updated_at\",\"completion_tokens\",\"call_type\",\"metadata\",\"request_tags\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"end_user\",\"endTime\",\"agent_id\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"api_key\",\"metadata\",\"custom_llm_provider\",\"proxy_server_request\",\"model\",\"response\",\"completion_tokens\",\"messages\",\"status\",\"request_id\",\"user\",\"litellm_call_id\",\"startTime\",\"cache_key\",\"model_group\",\"model_id\",\"updated_at\",\"organization_id\",\"api_base\",\"request_duration_ms\",\"requester_ip_address\",\"session_id\",\"team_id\",\"created_at\",\"call_type\",\"request_tags\",\"spend\",\"cache_hit\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"startTime\",\"completion_tokens\",\"request_id\",\"end_user\",\"completionStartTime\",\"model_id\",\"endTime\",\"team_id\",\"api_base\",\"proxy_server_request\",\"requester_ip_address\",\"request_tags\",\"call_type\",\"messages\",\"updated_at\",\"api_key\",\"request_duration_ms\",\"session_id\",\"response\",\"model\",\"agent_id\",\"organization_id\",\"custom_llm_provider\",\"metadata\",\"status\",\"cache_key\",\"litellm_call_id\",\"cache_hit\",\"spend\",\"user\",\"model_group\",\"created_at\",\"mcp_namespaced_tool_name\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"agent_id\",\"request_tags\",\"request_id\",\"end_user\",\"prompt_tokens\",\"spend\",\"api_key\",\"team_id\",\"cache_hit\",\"response\",\"created_at\",\"completion_tokens\",\"cache_key\",\"model_group\",\"custom_llm_provider\",\"endTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"status\",\"user\",\"messages\",\"call_type\",\"model_id\",\"litellm_call_id\",\"api_base\",\"organization_id\",\"model\",\"completionStartTime\",\"requester_ip_address\",\"metadata\",\"startTime\",\"total_tokens\",\"session_id\",\"proxy_server_request\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"messages\",\"end_user\",\"prompt_tokens\",\"team_id\",\"status\",\"cache_hit\",\"cache_key\",\"agent_id\",\"model_group\",\"requester_ip_address\",\"proxy_server_request\",\"total_tokens\",\"api_base\",\"user\",\"custom_llm_provider\",\"request_id\",\"endTime\",\"session_id\",\"request_duration_ms\",\"call_type\",\"completion_tokens\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"spend\",\"organization_id\",\"api_key\",\"model\",\"model_id\",\"request_tags\",\"metadata\",\"created_at\",\"response\",\"startTime\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"proxy_server_request\",\"agent_id\",\"litellm_call_id\",\"total_tokens\",\"request_tags\",\"session_id\",\"messages\",\"created_at\",\"organization_id\",\"metadata\",\"model_id\",\"team_id\",\"request_duration_ms\",\"model\",\"model_group\",\"call_type\",\"completion_tokens\",\"cache_hit\",\"api_base\",\"user\",\"completionStartTime\",\"cache_key\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"api_key\",\"response\",\"requester_ip_address\",\"status\",\"spend\",\"request_id\",\"endTime\",\"startTime\",\"end_user\",\"prompt_tokens\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"request_tags\",\"api_base\",\"model_id\",\"api_key\",\"model_group\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"response\",\"litellm_call_id\",\"proxy_server_request\",\"completion_tokens\",\"metadata\",\"created_at\",\"agent_id\",\"user\",\"cache_hit\",\"total_tokens\",\"model\",\"endTime\",\"custom_llm_provider\",\"request_id\",\"organization_id\",\"end_user\",\"status\",\"completionStartTime\",\"messages\",\"startTime\",\"cache_key\",\"spend\",\"requester_ip_address\",\"request_duration_ms\",\"session_id\",\"call_type\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"response\",\"call_type\",\"request_duration_ms\",\"session_id\",\"organization_id\",\"cache_hit\",\"custom_llm_provider\",\"endTime\",\"prompt_tokens\",\"requester_ip_address\",\"completion_tokens\",\"metadata\",\"request_tags\",\"spend\",\"api_base\",\"agent_id\",\"status\",\"mcp_namespaced_tool_name\",\"proxy_server_request\",\"team_id\",\"model_id\",\"api_key\",\"startTime\",\"cache_key\",\"total_tokens\",\"created_at\",\"completionStartTime\",\"user\",\"model_group\",\"end_user\",\"request_id\",\"litellm_call_id\",\"messages\",\"model\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"spend\",\"total_tokens\",\"model\",\"cache_key\",\"model_id\",\"created_at\",\"startTime\",\"completionStartTime\",\"status\",\"api_key\",\"proxy_server_request\",\"user\",\"response\",\"completion_tokens\",\"requester_ip_address\",\"endTime\",\"request_tags\",\"custom_llm_provider\",\"request_id\",\"prompt_tokens\",\"team_id\",\"cache_hit\",\"call_type\",\"agent_id\",\"model_group\",\"session_id\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"end_user\",\"organization_id\",\"metadata\",\"messages\",\"litellm_call_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"user\",\"request_duration_ms\",\"litellm_call_id\",\"requester_ip_address\",\"messages\",\"model_id\",\"cache_hit\",\"agent_id\",\"status\",\"completion_tokens\",\"proxy_server_request\",\"model\",\"startTime\",\"organization_id\",\"session_id\",\"cache_key\",\"prompt_tokens\",\"end_user\",\"created_at\",\"api_key\",\"spend\",\"model_group\",\"team_id\",\"custom_llm_provider\",\"call_type\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_id\",\"total_tokens\",\"endTime\",\"response\",\"completionStartTime\",\"request_tags\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"call_type\",\"spend\",\"request_duration_ms\",\"response\",\"completion_tokens\",\"metadata\",\"cache_hit\",\"messages\",\"requester_ip_address\",\"request_tags\",\"request_id\",\"organization_id\",\"created_at\",\"end_user\",\"updated_at\",\"agent_id\",\"session_id\",\"model\",\"api_base\",\"model_group\",\"completionStartTime\",\"prompt_tokens\",\"model_id\",\"proxy_server_request\",\"cache_key\",\"mcp_namespaced_tool_name\",\"startTime\",\"team_id\",\"litellm_call_id\",\"custom_llm_provider\",\"endTime\",\"total_tokens\",\"status\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"completion_tokens\",\"cache_key\",\"startTime\",\"api_key\",\"cache_hit\",\"status\",\"messages\",\"end_user\",\"agent_id\",\"model\",\"spend\",\"completionStartTime\",\"created_at\",\"metadata\",\"model_id\",\"mcp_namespaced_tool_name\",\"call_type\",\"updated_at\",\"litellm_call_id\",\"prompt_tokens\",\"request_tags\",\"response\",\"api_base\",\"session_id\",\"model_group\",\"team_id\",\"request_id\",\"total_tokens\",\"organization_id\",\"request_duration_ms\",\"endTime\",\"proxy_server_request\",\"requester_ip_address\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"end_user\",\"litellm_call_id\",\"startTime\",\"spend\",\"completion_tokens\",\"team_id\",\"request_duration_ms\",\"api_key\",\"call_type\",\"cache_hit\",\"request_tags\",\"updated_at\",\"model_group\",\"agent_id\",\"cache_key\",\"messages\",\"metadata\",\"mcp_namespaced_tool_name\",\"response\",\"custom_llm_provider\",\"completionStartTime\",\"proxy_server_request\",\"session_id\",\"model_id\",\"endTime\",\"status\",\"model\",\"api_base\",\"request_id\",\"requester_ip_address\",\"created_at\",\"total_tokens\",\"prompt_tokens\",\"organization_id\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"mcp_namespaced_tool_name\",\"request_id\",\"end_user\",\"prompt_tokens\",\"model\",\"team_id\",\"call_type\",\"messages\",\"request_duration_ms\",\"custom_llm_provider\",\"completion_tokens\",\"request_tags\",\"metadata\",\"session_id\",\"updated_at\",\"endTime\",\"created_at\",\"proxy_server_request\",\"cache_key\",\"startTime\",\"organization_id\",\"api_key\",\"cache_hit\",\"status\",\"completionStartTime\",\"api_base\",\"total_tokens\",\"agent_id\",\"model_group\",\"litellm_call_id\",\"spend\",\"requester_ip_address\",\"model_id\",\"response\") VALUES ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"request_tags\",\"spend\",\"mcp_namespaced_tool_name\",\"team_id\",\"api_key\",\"prompt_tokens\",\"requester_ip_address\",\"model_group\",\"endTime\",\"created_at\",\"api_base\",\"end_user\",\"request_duration_ms\",\"startTime\",\"response\",\"custom_llm_provider\",\"model\",\"model_id\",\"cache_hit\",\"cache_key\",\"session_id\",\"call_type\",\"request_id\",\"updated_at\",\"messages\",\"agent_id\",\"completion_tokens\",\"completionStartTime\",\"metadata\",\"litellm_call_id\",\"total_tokens\",\"status\",\"organization_id\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"team_id\",\"completionStartTime\",\"prompt_tokens\",\"end_user\",\"custom_llm_provider\",\"requester_ip_address\",\"created_at\",\"request_tags\",\"status\",\"request_duration_ms\",\"cache_hit\",\"total_tokens\",\"cache_key\",\"organization_id\",\"session_id\",\"startTime\",\"response\",\"proxy_server_request\",\"api_key\",\"completion_tokens\",\"spend\",\"api_base\",\"request_id\",\"messages\",\"model_group\",\"call_type\",\"metadata\",\"litellm_call_id\",\"model_id\",\"endTime\",\"agent_id\",\"model\",\"updated_at\",\"mcp_namespaced_tool_name\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"total_tokens\",\"proxy_server_request\",\"api_key\",\"status\",\"endTime\",\"created_at\",\"custom_llm_provider\",\"model_group\",\"model_id\",\"agent_id\",\"requester_ip_address\",\"request_id\",\"cache_key\",\"call_type\",\"api_base\",\"request_tags\",\"startTime\",\"cache_hit\",\"litellm_call_id\",\"response\",\"updated_at\",\"prompt_tokens\",\"messages\",\"completion_tokens\",\"completionStartTime\",\"model\",\"team_id\",\"end_user\",\"session_id\",\"organization_id\",\"metadata\",\"spend\",\"request_duration_ms\",\"mcp_namespaced_tool_name\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"organization_id\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"user_alias\",\"team_id\",\"sso_user_id\",\"organization_id\",\"object_permission_id\",\"teams\",\"user_role\",\"max_budget\",\"spend\",\"user_email\",\"models\",\"metadata\",\"max_parallel_requests\",\"tpm_limit\",\"rpm_limit\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\" /* 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_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_BudgetTable\".\"budget_id\", \"public\".\"LiteLLM_BudgetTable\".\"max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"soft_budget\", \"public\".\"LiteLLM_BudgetTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_BudgetTable\".\"tpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"rpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"tpd_limit\", \"public\".\"LiteLLM_BudgetTable\".\"model_max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"budget_duration\", \"public\".\"LiteLLM_BudgetTable\".\"budget_reset_at\", \"public\".\"LiteLLM_BudgetTable\".\"allowed_models\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_increase\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_expiry\", \"public\".\"LiteLLM_BudgetTable\".\"created_at\", \"public\".\"LiteLLM_BudgetTable\".\"created_by\", \"public\".\"LiteLLM_BudgetTable\".\"updated_at\", \"public\".\"LiteLLM_BudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_BudgetTable\" WHERE \"public\".\"LiteLLM_BudgetTable\".\"budget_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedFileTable\" WHERE \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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\".\"unified_object_id\" = $n OR \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\", \"public\".\"LiteLLM_OrganizationTable\".\"organization_alias\", \"public\".\"LiteLLM_OrganizationTable\".\"budget_id\", \"public\".\"LiteLLM_OrganizationTable\".\"metadata\", \"public\".\"LiteLLM_OrganizationTable\".\"models\", \"public\".\"LiteLLM_OrganizationTable\".\"spend\", \"public\".\"LiteLLM_OrganizationTable\".\"model_spend\", \"public\".\"LiteLLM_OrganizationTable\".\"object_permission_id\", \"public\".\"LiteLLM_OrganizationTable\".\"created_at\", \"public\".\"LiteLLM_OrganizationTable\".\"created_by\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_at\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_by\" FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\", \"public\".\"LiteLLM_OrganizationTable\".\"organization_alias\", \"public\".\"LiteLLM_OrganizationTable\".\"budget_id\", \"public\".\"LiteLLM_OrganizationTable\".\"metadata\", \"public\".\"LiteLLM_OrganizationTable\".\"models\", \"public\".\"LiteLLM_OrganizationTable\".\"spend\", \"public\".\"LiteLLM_OrganizationTable\".\"model_spend\", \"public\".\"LiteLLM_OrganizationTable\".\"object_permission_id\", \"public\".\"LiteLLM_OrganizationTable\".\"created_at\", \"public\".\"LiteLLM_OrganizationTable\".\"created_by\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_at\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_by\" FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE (\"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_SpendLogs\".\"request_id\", \"public\".\"LiteLLM_SpendLogs\".\"call_type\", \"public\".\"LiteLLM_SpendLogs\".\"api_key\", \"public\".\"LiteLLM_SpendLogs\".\"spend\", \"public\".\"LiteLLM_SpendLogs\".\"total_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"prompt_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"completion_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"startTime\", \"public\".\"LiteLLM_SpendLogs\".\"endTime\", \"public\".\"LiteLLM_SpendLogs\".\"request_duration_ms\", \"public\".\"LiteLLM_SpendLogs\".\"completionStartTime\", \"public\".\"LiteLLM_SpendLogs\".\"model\", \"public\".\"LiteLLM_SpendLogs\".\"model_id\", \"public\".\"LiteLLM_SpendLogs\".\"model_group\", \"public\".\"LiteLLM_SpendLogs\".\"custom_llm_provider\", \"public\".\"LiteLLM_SpendLogs\".\"api_base\", \"public\".\"LiteLLM_SpendLogs\".\"user\", \"public\".\"LiteLLM_SpendLogs\".\"metadata\", \"public\".\"LiteLLM_SpendLogs\".\"cache_hit\", \"public\".\"LiteLLM_SpendLogs\".\"cache_key\", \"public\".\"LiteLLM_SpendLogs\".\"request_tags\", \"public\".\"LiteLLM_SpendLogs\".\"team_id\", \"public\".\"LiteLLM_SpendLogs\".\"organization_id\", \"public\".\"LiteLLM_SpendLogs\".\"end_user\", \"public\".\"LiteLLM_SpendLogs\".\"requester_ip_address\", \"public\".\"LiteLLM_SpendLogs\".\"messages\", \"public\".\"LiteLLM_SpendLogs\".\"response\", \"public\".\"LiteLLM_SpendLogs\".\"session_id\", \"public\".\"LiteLLM_SpendLogs\".\"status\", \"public\".\"LiteLLM_SpendLogs\".\"mcp_namespaced_tool_name\", \"public\".\"LiteLLM_SpendLogs\".\"agent_id\", \"public\".\"LiteLLM_SpendLogs\".\"proxy_server_request\", \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\", \"public\".\"LiteLLM_SpendLogs\".\"created_at\", \"public\".\"LiteLLM_SpendLogs\".\"updated_at\" FROM \"public\".\"LiteLLM_SpendLogs\" WHERE \"public\".\"LiteLLM_SpendLogs\".\"api_key\" = $n ORDER BY \"public\".\"LiteLLM_SpendLogs\".\"startTime\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SpendLogs\".\"request_id\", \"public\".\"LiteLLM_SpendLogs\".\"call_type\", \"public\".\"LiteLLM_SpendLogs\".\"api_key\", \"public\".\"LiteLLM_SpendLogs\".\"spend\", \"public\".\"LiteLLM_SpendLogs\".\"total_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"prompt_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"completion_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"startTime\", \"public\".\"LiteLLM_SpendLogs\".\"endTime\", \"public\".\"LiteLLM_SpendLogs\".\"request_duration_ms\", \"public\".\"LiteLLM_SpendLogs\".\"completionStartTime\", \"public\".\"LiteLLM_SpendLogs\".\"model\", \"public\".\"LiteLLM_SpendLogs\".\"model_id\", \"public\".\"LiteLLM_SpendLogs\".\"model_group\", \"public\".\"LiteLLM_SpendLogs\".\"custom_llm_provider\", \"public\".\"LiteLLM_SpendLogs\".\"api_base\", \"public\".\"LiteLLM_SpendLogs\".\"user\", \"public\".\"LiteLLM_SpendLogs\".\"metadata\", \"public\".\"LiteLLM_SpendLogs\".\"cache_hit\", \"public\".\"LiteLLM_SpendLogs\".\"cache_key\", \"public\".\"LiteLLM_SpendLogs\".\"request_tags\", \"public\".\"LiteLLM_SpendLogs\".\"team_id\", \"public\".\"LiteLLM_SpendLogs\".\"organization_id\", \"public\".\"LiteLLM_SpendLogs\".\"end_user\", \"public\".\"LiteLLM_SpendLogs\".\"requester_ip_address\", \"public\".\"LiteLLM_SpendLogs\".\"messages\", \"public\".\"LiteLLM_SpendLogs\".\"response\", \"public\".\"LiteLLM_SpendLogs\".\"session_id\", \"public\".\"LiteLLM_SpendLogs\".\"status\", \"public\".\"LiteLLM_SpendLogs\".\"mcp_namespaced_tool_name\", \"public\".\"LiteLLM_SpendLogs\".\"agent_id\", \"public\".\"LiteLLM_SpendLogs\".\"proxy_server_request\", \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\", \"public\".\"LiteLLM_SpendLogs\".\"created_at\", \"public\".\"LiteLLM_SpendLogs\".\"updated_at\" FROM \"public\".\"LiteLLM_SpendLogs\" WHERE (\"public\".\"LiteLLM_SpendLogs\".\"request_id\" = $n OR \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\" = $n) ORDER BY \"public\".\"LiteLLM_SpendLogs\".\"startTime\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"organization_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" 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\".\"organization_id\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"team_id\" AS entity_id, date, api_key, GROUPING(api_key) AS api_key_rolled, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date, \"team_id\"), (date, \"team_id\", api_key) )": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_BudgetTable\" x WHERE \"budget_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"created_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"updated_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"organization_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationTable\" x WHERE \"organization_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ( SELECT to_jsonb(u) || jsonb_build_object( $n, COALESCE(to_jsonb(u.teams), $n::jsonb), $n, COALESCE(to_jsonb(u.models), $n::jsonb), $n, COALESCE(to_jsonb(u.allowed_cache_controls), $n::jsonb), $n, COALESCE(to_jsonb(u.policies), $n::jsonb), $n, COALESCE(( SELECT jsonb_agg(to_jsonb(om)) FROM \"LiteLLM_OrganizationMembership\" om WHERE om.user_id = u.user_id ), $n::jsonb) ) FROM \"LiteLLM_UserTable\" u WHERE u.user_id = $n ) AS user_row, ( SELECT to_jsonb(t) || jsonb_build_object( $n, COALESCE(to_jsonb(t.admins), $n::jsonb), $n, COALESCE(to_jsonb(t.members), $n::jsonb), $n, COALESCE(to_jsonb(t.models), $n::jsonb), $n, COALESCE(to_jsonb(t.team_member_permissions), $n::jsonb), $n, COALESCE(to_jsonb(t.access_group_ids), $n::jsonb), $n, COALESCE(to_jsonb(t.policies), $n::jsonb), $n, COALESCE(to_jsonb(t.default_team_member_models), $n::jsonb), $n, ( SELECT (to_jsonb(m) - $n) || jsonb_build_object($n, m.aliases) FROM \"LiteLLM_ModelTable\" m WHERE m.id = t.model_id ), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = t.object_permission_id) ) FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = $n ) AS team_row, ( SELECT to_jsonb(tm) || jsonb_build_object($n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = tm.budget_id)) FROM \"LiteLLM_TeamMembership\" tm WHERE tm.user_id = $n AND tm.team_id = $n ) AS membership_row, ( SELECT to_jsonb(o) || jsonb_build_object( $n, COALESCE(to_jsonb(o.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = o.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = o.object_permission_id) ) FROM \"LiteLLM_OrganizationTable\" o WHERE o.organization_id = $n ) AS organization_row, ( SELECT to_jsonb(p) || jsonb_build_object( $n, COALESCE(to_jsonb(p.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = p.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = p.object_permission_id) ) FROM \"LiteLLM_ProjectTable\" p WHERE p.project_id = $n ) AS project_row": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND \"user\" = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND api_key = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND model_group = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"metadata\"#>ARRAY[$n]::text[])::jsonb::jsonb = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT 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 pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND \"user\" = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND api_key = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND model_group = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"assigned_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_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"file_object\" = $n, \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND $n=$n) RETURNING \"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\" /* 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_OrganizationMembership\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationMembership\".\"spend\" + $n), \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" = $n AND \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_OrganizationTable\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ProxyModelTable\" SET \"model_name\" = $n, \"litellm_params\" = $n, \"model_info\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$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"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = $n, \"metadata\" = $n, \"token\" = $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 \"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"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_TeamTable\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_UserTable\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_VerificationToken\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH SpendByModelApiKey AS ( SELECT sl.api_key, sl.model, SUM(sl.spend) AS model_cost, SUM(sl.prompt_tokens) AS model_input_tokens, SUM(sl.completion_tokens) AS model_output_tokens FROM \"LiteLLM_SpendLogs\" sl WHERE sl.\"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND sl.\"startTime\" < (($n::timestamptz + INTERVAL $n) AT TIME ZONE $n) AND sl.api_key = $n GROUP BY sl.api_key, sl.model ) SELECT api_key, SUM(model_cost) AS total_cost, SUM(model_input_tokens) AS total_input_tokens, SUM(model_output_tokens) AS total_output_tokens, jsonb_agg(jsonb_build_object( $n, model, $n, model_cost, $n, model_input_tokens, $n, model_output_tokens )) AS model_details FROM SpendByModelApiKey GROUP BY api_key ORDER BY total_cost DESC": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests": {
|
|
"tests/integration/pricing/test_configured_prices.py::test_cost_estimate_reports_configured_prices_for_model_absent_from_cost_map": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_configured_prices.py::test_custom_price_is_reported_and_charged": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_configured_prices.py::test_default_prices_survive_nullable_sibling_and_reload": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_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_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"model\",\"updated_at\",\"mcp_namespaced_tool_name\",\"messages\",\"user\",\"requester_ip_address\",\"completionStartTime\",\"request_id\",\"agent_id\",\"organization_id\",\"endTime\",\"total_tokens\",\"model_id\",\"api_key\",\"session_id\",\"api_base\",\"request_duration_ms\",\"team_id\",\"litellm_call_id\",\"status\",\"custom_llm_provider\",\"end_user\",\"model_group\",\"created_at\",\"startTime\",\"metadata\",\"request_tags\",\"response\",\"proxy_server_request\",\"prompt_tokens\",\"cache_key\",\"completion_tokens\",\"call_type\",\"cache_hit\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"response\",\"call_type\",\"request_duration_ms\",\"session_id\",\"organization_id\",\"cache_hit\",\"custom_llm_provider\",\"endTime\",\"prompt_tokens\",\"requester_ip_address\",\"completion_tokens\",\"metadata\",\"request_tags\",\"spend\",\"api_base\",\"agent_id\",\"status\",\"mcp_namespaced_tool_name\",\"proxy_server_request\",\"team_id\",\"model_id\",\"api_key\",\"startTime\",\"cache_key\",\"total_tokens\",\"created_at\",\"completionStartTime\",\"user\",\"model_group\",\"end_user\",\"request_id\",\"litellm_call_id\",\"messages\",\"model\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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 \"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_ProxyModelTable\" SET \"model_name\" = $n, \"litellm_params\" = $n, \"model_info\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$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"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_configured_prices.py::test_loaded_router_preserves_cached_defaults_during_real_requests": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_configured_prices.py::test_saving_echoed_model_info_does_not_freeze_cost_map_price_into_deployment": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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 \"public\".\"LiteLLM_ProxyModelTable\" SET \"model_name\" = $n, \"litellm_params\" = $n, \"model_info\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$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"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_databricks_cache_pricing.py::test_databricks_cached_prompt_tokens_bill_at_cache_rates_not_input_rate": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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)) 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_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"mcp_namespaced_tool_name\",\"request_id\",\"end_user\",\"prompt_tokens\",\"model\",\"team_id\",\"call_type\",\"messages\",\"request_duration_ms\",\"custom_llm_provider\",\"completion_tokens\",\"request_tags\",\"metadata\",\"session_id\",\"updated_at\",\"endTime\",\"created_at\",\"proxy_server_request\",\"cache_key\",\"startTime\",\"organization_id\",\"api_key\",\"cache_hit\",\"status\",\"completionStartTime\",\"api_base\",\"total_tokens\",\"agent_id\",\"model_group\",\"litellm_call_id\",\"spend\",\"requester_ip_address\",\"model_id\",\"response\") 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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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 \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_ocr_page_pricing.py::test_ocr_annotation_pages_are_billed_at_annotation_cost_per_page": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"team_id\",\"spend\",\"prompt_tokens\",\"cache_key\",\"mcp_namespaced_tool_name\",\"status\",\"proxy_server_request\",\"request_id\",\"created_at\",\"agent_id\",\"metadata\",\"startTime\",\"model\",\"call_type\",\"request_duration_ms\",\"api_key\",\"total_tokens\",\"litellm_call_id\",\"endTime\",\"organization_id\",\"custom_llm_provider\",\"cache_hit\",\"end_user\",\"model_id\",\"completionStartTime\",\"user\",\"response\",\"session_id\",\"messages\",\"model_group\",\"request_tags\",\"requester_ip_address\",\"updated_at\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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 \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_off_peak_pricing.py::test_closed_off_peak_window_bills_standard_rates": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"custom_llm_provider\",\"request_tags\",\"litellm_call_id\",\"api_key\",\"request_id\",\"request_duration_ms\",\"status\",\"response\",\"metadata\",\"session_id\",\"call_type\",\"end_user\",\"endTime\",\"api_base\",\"startTime\",\"created_at\",\"model\",\"completion_tokens\",\"agent_id\",\"requester_ip_address\",\"model_id\",\"completionStartTime\",\"messages\",\"user\",\"updated_at\",\"prompt_tokens\",\"total_tokens\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"model_group\",\"spend\",\"team_id\",\"organization_id\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $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 \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_off_peak_pricing.py::test_open_off_peak_window_bills_off_peak_rates": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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)) 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_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_duration_ms\",\"response\",\"request_id\",\"call_type\",\"requester_ip_address\",\"created_at\",\"end_user\",\"cache_hit\",\"endTime\",\"model\",\"messages\",\"startTime\",\"completionStartTime\",\"status\",\"completion_tokens\",\"agent_id\",\"organization_id\",\"prompt_tokens\",\"metadata\",\"updated_at\",\"custom_llm_provider\",\"user\",\"session_id\",\"mcp_namespaced_tool_name\",\"team_id\",\"api_base\",\"spend\",\"api_key\",\"litellm_call_id\",\"model_id\",\"cache_key\",\"proxy_server_request\",\"model_group\",\"total_tokens\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_price_precedence.py::test_generated_zero_null_and_omitted_prices_follow_independent_arithmetic": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"spend\",\"team_id\",\"request_duration_ms\",\"created_at\",\"cache_hit\",\"total_tokens\",\"proxy_server_request\",\"status\",\"startTime\",\"endTime\",\"request_id\",\"cache_key\",\"model\",\"requester_ip_address\",\"api_key\",\"prompt_tokens\",\"messages\",\"user\",\"organization_id\",\"call_type\",\"end_user\",\"metadata\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"litellm_call_id\",\"model_group\",\"request_tags\",\"model_id\",\"response\",\"updated_at\",\"session_id\",\"agent_id\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"cache_key\",\"response\",\"request_tags\",\"status\",\"end_user\",\"session_id\",\"proxy_server_request\",\"team_id\",\"mcp_namespaced_tool_name\",\"api_key\",\"requester_ip_address\",\"model\",\"messages\",\"request_duration_ms\",\"call_type\",\"created_at\",\"model_group\",\"litellm_call_id\",\"custom_llm_provider\",\"api_base\",\"startTime\",\"model_id\",\"total_tokens\",\"organization_id\",\"completionStartTime\",\"spend\",\"cache_hit\",\"endTime\",\"request_id\",\"metadata\",\"agent_id\",\"completion_tokens\",\"prompt_tokens\",\"updated_at\",\"user\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"startTime\",\"spend\",\"total_tokens\",\"organization_id\",\"user\",\"team_id\",\"metadata\",\"cache_key\",\"request_duration_ms\",\"messages\",\"endTime\",\"litellm_call_id\",\"api_key\",\"completionStartTime\",\"session_id\",\"agent_id\",\"cache_hit\",\"call_type\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"response\",\"model_id\",\"prompt_tokens\",\"updated_at\",\"end_user\",\"requester_ip_address\",\"model_group\",\"completion_tokens\",\"request_tags\",\"proxy_server_request\",\"api_base\",\"request_id\",\"status\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"response\",\"prompt_tokens\",\"request_duration_ms\",\"endTime\",\"agent_id\",\"startTime\",\"mcp_namespaced_tool_name\",\"organization_id\",\"cache_key\",\"request_tags\",\"user\",\"total_tokens\",\"spend\",\"session_id\",\"metadata\",\"requester_ip_address\",\"request_id\",\"model_group\",\"completion_tokens\",\"model\",\"messages\",\"model_id\",\"litellm_call_id\",\"end_user\",\"team_id\",\"updated_at\",\"created_at\",\"cache_hit\",\"api_base\",\"api_key\",\"status\",\"proxy_server_request\",\"call_type\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"agent_id\",\"completion_tokens\",\"request_tags\",\"metadata\",\"updated_at\",\"model_id\",\"user\",\"startTime\",\"session_id\",\"created_at\",\"total_tokens\",\"organization_id\",\"request_id\",\"completionStartTime\",\"response\",\"requester_ip_address\",\"api_key\",\"proxy_server_request\",\"status\",\"messages\",\"cache_key\",\"request_duration_ms\",\"call_type\",\"model\",\"cache_hit\",\"api_base\",\"mcp_namespaced_tool_name\",\"endTime\",\"litellm_call_id\",\"model_group\",\"team_id\",\"spend\",\"custom_llm_provider\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"completionStartTime\",\"model\",\"response\",\"cache_hit\",\"status\",\"request_id\",\"completion_tokens\",\"user\",\"metadata\",\"api_base\",\"cache_key\",\"startTime\",\"endTime\",\"organization_id\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"model_group\",\"messages\",\"api_key\",\"created_at\",\"prompt_tokens\",\"team_id\",\"requester_ip_address\",\"agent_id\",\"spend\",\"request_tags\",\"session_id\",\"total_tokens\",\"litellm_call_id\",\"call_type\",\"model_id\",\"updated_at\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"messages\",\"custom_llm_provider\",\"cache_key\",\"completion_tokens\",\"end_user\",\"updated_at\",\"total_tokens\",\"response\",\"startTime\",\"user\",\"api_base\",\"status\",\"created_at\",\"model\",\"session_id\",\"model_group\",\"proxy_server_request\",\"cache_hit\",\"model_id\",\"call_type\",\"agent_id\",\"spend\",\"requester_ip_address\",\"api_key\",\"organization_id\",\"endTime\",\"request_tags\",\"completionStartTime\",\"request_id\",\"metadata\",\"prompt_tokens\",\"litellm_call_id\",\"team_id\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"metadata\",\"proxy_server_request\",\"api_key\",\"total_tokens\",\"request_duration_ms\",\"prompt_tokens\",\"endTime\",\"custom_llm_provider\",\"call_type\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"team_id\",\"model_group\",\"user\",\"startTime\",\"spend\",\"completion_tokens\",\"end_user\",\"request_id\",\"agent_id\",\"response\",\"organization_id\",\"litellm_call_id\",\"updated_at\",\"model\",\"cache_key\",\"completionStartTime\",\"created_at\",\"model_id\",\"requester_ip_address\",\"messages\",\"session_id\",\"status\",\"request_tags\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model\",\"metadata\",\"api_base\",\"litellm_call_id\",\"model_group\",\"model_id\",\"mcp_namespaced_tool_name\",\"cache_key\",\"call_type\",\"api_key\",\"agent_id\",\"session_id\",\"custom_llm_provider\",\"updated_at\",\"request_id\",\"created_at\",\"prompt_tokens\",\"status\",\"request_tags\",\"completionStartTime\",\"messages\",\"startTime\",\"requester_ip_address\",\"spend\",\"proxy_server_request\",\"total_tokens\",\"organization_id\",\"team_id\",\"end_user\",\"completion_tokens\",\"endTime\",\"cache_hit\",\"user\",\"request_duration_ms\",\"response\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"end_user\",\"cache_hit\",\"completionStartTime\",\"agent_id\",\"requester_ip_address\",\"request_duration_ms\",\"status\",\"response\",\"created_at\",\"startTime\",\"cache_key\",\"messages\",\"model_id\",\"request_tags\",\"team_id\",\"completion_tokens\",\"user\",\"total_tokens\",\"spend\",\"session_id\",\"litellm_call_id\",\"call_type\",\"organization_id\",\"custom_llm_provider\",\"endTime\",\"mcp_namespaced_tool_name\",\"updated_at\",\"api_base\",\"proxy_server_request\",\"prompt_tokens\",\"request_id\",\"api_key\",\"metadata\",\"model\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"custom_llm_provider\",\"startTime\",\"updated_at\",\"request_duration_ms\",\"call_type\",\"completionStartTime\",\"agent_id\",\"total_tokens\",\"user\",\"litellm_call_id\",\"completion_tokens\",\"api_base\",\"end_user\",\"created_at\",\"organization_id\",\"status\",\"model\",\"cache_key\",\"model_group\",\"endTime\",\"team_id\",\"session_id\",\"request_id\",\"proxy_server_request\",\"metadata\",\"api_key\",\"request_tags\",\"model_id\",\"requester_ip_address\",\"spend\",\"messages\",\"response\",\"mcp_namespaced_tool_name\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"api_key\",\"end_user\",\"prompt_tokens\",\"request_tags\",\"total_tokens\",\"messages\",\"litellm_call_id\",\"call_type\",\"api_base\",\"session_id\",\"created_at\",\"agent_id\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"response\",\"cache_key\",\"completion_tokens\",\"request_id\",\"endTime\",\"metadata\",\"model\",\"model_id\",\"team_id\",\"updated_at\",\"completionStartTime\",\"model_group\",\"requester_ip_address\",\"spend\",\"startTime\",\"user\",\"request_duration_ms\",\"custom_llm_provider\",\"status\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"model_group\",\"response\",\"custom_llm_provider\",\"metadata\",\"prompt_tokens\",\"litellm_call_id\",\"model\",\"team_id\",\"total_tokens\",\"end_user\",\"cache_hit\",\"completion_tokens\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"completionStartTime\",\"messages\",\"mcp_namespaced_tool_name\",\"request_id\",\"status\",\"agent_id\",\"startTime\",\"organization_id\",\"created_at\",\"endTime\",\"cache_key\",\"request_duration_ms\",\"session_id\",\"api_base\",\"updated_at\",\"spend\",\"user\",\"call_type\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"startTime\",\"requester_ip_address\",\"messages\",\"model_group\",\"completion_tokens\",\"model\",\"metadata\",\"created_at\",\"cache_hit\",\"session_id\",\"response\",\"team_id\",\"request_tags\",\"model_id\",\"user\",\"endTime\",\"proxy_server_request\",\"status\",\"organization_id\",\"custom_llm_provider\",\"cache_key\",\"call_type\",\"end_user\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"api_base\",\"prompt_tokens\",\"api_key\",\"updated_at\",\"total_tokens\",\"spend\",\"litellm_call_id\",\"agent_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_id\",\"endTime\",\"custom_llm_provider\",\"completion_tokens\",\"request_duration_ms\",\"total_tokens\",\"cache_hit\",\"proxy_server_request\",\"requester_ip_address\",\"model_id\",\"organization_id\",\"spend\",\"mcp_namespaced_tool_name\",\"startTime\",\"api_base\",\"prompt_tokens\",\"metadata\",\"team_id\",\"agent_id\",\"completionStartTime\",\"updated_at\",\"status\",\"end_user\",\"model\",\"call_type\",\"created_at\",\"api_key\",\"litellm_call_id\",\"user\",\"session_id\",\"response\",\"messages\",\"model_group\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"api_base\",\"request_duration_ms\",\"call_type\",\"status\",\"litellm_call_id\",\"model_id\",\"custom_llm_provider\",\"metadata\",\"session_id\",\"agent_id\",\"model_group\",\"response\",\"user\",\"completionStartTime\",\"prompt_tokens\",\"endTime\",\"spend\",\"completion_tokens\",\"messages\",\"request_id\",\"startTime\",\"end_user\",\"updated_at\",\"mcp_namespaced_tool_name\",\"model\",\"cache_key\",\"created_at\",\"proxy_server_request\",\"team_id\",\"total_tokens\",\"organization_id\",\"cache_hit\",\"request_tags\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"custom_llm_provider\",\"session_id\",\"updated_at\",\"request_id\",\"cache_hit\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"metadata\",\"status\",\"end_user\",\"request_tags\",\"api_key\",\"completion_tokens\",\"call_type\",\"team_id\",\"request_duration_ms\",\"messages\",\"created_at\",\"requester_ip_address\",\"api_base\",\"endTime\",\"litellm_call_id\",\"proxy_server_request\",\"model_id\",\"agent_id\",\"total_tokens\",\"model\",\"completionStartTime\",\"response\",\"user\",\"startTime\",\"model_group\",\"cache_key\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"updated_at\",\"user\",\"completion_tokens\",\"prompt_tokens\",\"model_group\",\"organization_id\",\"request_tags\",\"api_key\",\"messages\",\"team_id\",\"end_user\",\"cache_key\",\"proxy_server_request\",\"completionStartTime\",\"session_id\",\"created_at\",\"status\",\"litellm_call_id\",\"call_type\",\"model\",\"request_duration_ms\",\"metadata\",\"startTime\",\"request_id\",\"custom_llm_provider\",\"response\",\"total_tokens\",\"agent_id\",\"model_id\",\"api_base\",\"endTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"end_user\",\"endTime\",\"agent_id\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"api_key\",\"metadata\",\"custom_llm_provider\",\"proxy_server_request\",\"model\",\"response\",\"completion_tokens\",\"messages\",\"status\",\"request_id\",\"user\",\"litellm_call_id\",\"startTime\",\"cache_key\",\"model_group\",\"model_id\",\"updated_at\",\"organization_id\",\"api_base\",\"request_duration_ms\",\"requester_ip_address\",\"session_id\",\"team_id\",\"created_at\",\"call_type\",\"request_tags\",\"spend\",\"cache_hit\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"messages\",\"end_user\",\"prompt_tokens\",\"team_id\",\"status\",\"cache_hit\",\"cache_key\",\"agent_id\",\"model_group\",\"requester_ip_address\",\"proxy_server_request\",\"total_tokens\",\"api_base\",\"user\",\"custom_llm_provider\",\"request_id\",\"endTime\",\"session_id\",\"request_duration_ms\",\"call_type\",\"completion_tokens\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"spend\",\"organization_id\",\"api_key\",\"model\",\"model_id\",\"request_tags\",\"metadata\",\"created_at\",\"response\",\"startTime\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"request_tags\",\"api_base\",\"model_id\",\"api_key\",\"model_group\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"response\",\"litellm_call_id\",\"proxy_server_request\",\"completion_tokens\",\"metadata\",\"created_at\",\"agent_id\",\"user\",\"cache_hit\",\"total_tokens\",\"model\",\"endTime\",\"custom_llm_provider\",\"request_id\",\"organization_id\",\"end_user\",\"status\",\"completionStartTime\",\"messages\",\"startTime\",\"cache_key\",\"spend\",\"requester_ip_address\",\"request_duration_ms\",\"session_id\",\"call_type\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"call_type\",\"spend\",\"request_duration_ms\",\"response\",\"completion_tokens\",\"metadata\",\"cache_hit\",\"messages\",\"requester_ip_address\",\"request_tags\",\"request_id\",\"organization_id\",\"created_at\",\"end_user\",\"updated_at\",\"agent_id\",\"session_id\",\"model\",\"api_base\",\"model_group\",\"completionStartTime\",\"prompt_tokens\",\"model_id\",\"proxy_server_request\",\"cache_key\",\"mcp_namespaced_tool_name\",\"startTime\",\"team_id\",\"litellm_call_id\",\"custom_llm_provider\",\"endTime\",\"total_tokens\",\"status\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"completion_tokens\",\"cache_key\",\"startTime\",\"api_key\",\"cache_hit\",\"status\",\"messages\",\"end_user\",\"agent_id\",\"model\",\"spend\",\"completionStartTime\",\"created_at\",\"metadata\",\"model_id\",\"mcp_namespaced_tool_name\",\"call_type\",\"updated_at\",\"litellm_call_id\",\"prompt_tokens\",\"request_tags\",\"response\",\"api_base\",\"session_id\",\"model_group\",\"team_id\",\"request_id\",\"total_tokens\",\"organization_id\",\"request_duration_ms\",\"endTime\",\"proxy_server_request\",\"requester_ip_address\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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 $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_price_precedence.py::test_same_upstream_aliases_keep_distinct_prices_after_reload": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"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_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"user\",\"organization_id\",\"cache_key\",\"requester_ip_address\",\"prompt_tokens\",\"response\",\"model_id\",\"request_tags\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"created_at\",\"model_group\",\"total_tokens\",\"model\",\"completion_tokens\",\"proxy_server_request\",\"endTime\",\"api_key\",\"end_user\",\"session_id\",\"cache_hit\",\"litellm_call_id\",\"request_id\",\"metadata\",\"request_duration_ms\",\"startTime\",\"completionStartTime\",\"team_id\",\"status\",\"call_type\",\"agent_id\",\"spend\",\"messages\",\"updated_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"api_base\",\"requester_ip_address\",\"cache_key\",\"status\",\"completionStartTime\",\"request_tags\",\"session_id\",\"metadata\",\"request_id\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"cache_hit\",\"model_group\",\"team_id\",\"spend\",\"messages\",\"created_at\",\"endTime\",\"litellm_call_id\",\"custom_llm_provider\",\"total_tokens\",\"user\",\"request_duration_ms\",\"model_id\",\"proxy_server_request\",\"updated_at\",\"response\",\"agent_id\",\"completion_tokens\",\"end_user\",\"api_key\",\"startTime\",\"organization_id\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"response\",\"agent_id\",\"spend\",\"cache_key\",\"end_user\",\"user\",\"endTime\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"team_id\",\"metadata\",\"startTime\",\"total_tokens\",\"cache_hit\",\"prompt_tokens\",\"litellm_call_id\",\"request_duration_ms\",\"api_key\",\"created_at\",\"messages\",\"model\",\"organization_id\",\"status\",\"request_tags\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\",\"session_id\",\"completion_tokens\",\"request_id\",\"updated_at\",\"api_base\",\"requester_ip_address\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"model_group\",\"spend\",\"model_id\",\"completion_tokens\",\"cache_key\",\"request_id\",\"proxy_server_request\",\"requester_ip_address\",\"created_at\",\"organization_id\",\"litellm_call_id\",\"status\",\"api_base\",\"session_id\",\"response\",\"messages\",\"team_id\",\"request_tags\",\"call_type\",\"total_tokens\",\"end_user\",\"startTime\",\"user\",\"request_duration_ms\",\"metadata\",\"cache_hit\",\"updated_at\",\"endTime\",\"mcp_namespaced_tool_name\",\"agent_id\",\"prompt_tokens\",\"model\",\"custom_llm_provider\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"model_id\",\"startTime\",\"call_type\",\"organization_id\",\"updated_at\",\"spend\",\"api_base\",\"response\",\"metadata\",\"litellm_call_id\",\"agent_id\",\"end_user\",\"requester_ip_address\",\"messages\",\"cache_key\",\"completionStartTime\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"session_id\",\"api_key\",\"request_duration_ms\",\"request_id\",\"created_at\",\"team_id\",\"custom_llm_provider\",\"total_tokens\",\"completion_tokens\",\"prompt_tokens\",\"request_tags\",\"model\",\"user\",\"cache_hit\",\"status\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"custom_llm_provider\",\"completion_tokens\",\"messages\",\"total_tokens\",\"response\",\"updated_at\",\"model\",\"status\",\"created_at\",\"api_base\",\"session_id\",\"completionStartTime\",\"request_duration_ms\",\"mcp_namespaced_tool_name\",\"call_type\",\"proxy_server_request\",\"metadata\",\"request_tags\",\"agent_id\",\"user\",\"cache_hit\",\"api_key\",\"team_id\",\"endTime\",\"spend\",\"litellm_call_id\",\"model_group\",\"startTime\",\"cache_key\",\"requester_ip_address\",\"prompt_tokens\",\"organization_id\",\"model_id\",\"end_user\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"request_duration_ms\",\"end_user\",\"spend\",\"litellm_call_id\",\"total_tokens\",\"mcp_namespaced_tool_name\",\"updated_at\",\"created_at\",\"model\",\"model_group\",\"endTime\",\"api_key\",\"cache_hit\",\"custom_llm_provider\",\"call_type\",\"response\",\"cache_key\",\"metadata\",\"agent_id\",\"session_id\",\"team_id\",\"api_base\",\"completionStartTime\",\"startTime\",\"requester_ip_address\",\"user\",\"messages\",\"request_id\",\"proxy_server_request\",\"organization_id\",\"prompt_tokens\",\"model_id\",\"status\",\"completion_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"status\",\"end_user\",\"model_group\",\"organization_id\",\"request_id\",\"requester_ip_address\",\"cache_key\",\"metadata\",\"model_id\",\"messages\",\"completion_tokens\",\"spend\",\"request_duration_ms\",\"user\",\"model\",\"call_type\",\"proxy_server_request\",\"created_at\",\"litellm_call_id\",\"session_id\",\"total_tokens\",\"updated_at\",\"custom_llm_provider\",\"request_tags\",\"endTime\",\"team_id\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"api_key\",\"response\",\"prompt_tokens\",\"agent_id\",\"api_base\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ProxyModelTable\" SET \"model_name\" = $n, \"litellm_params\" = $n, \"model_info\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$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"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/pricing/test_service_tier_pricing.py::test_ultrafast_service_tier_bills_ultrafast_rates_and_keeps_pricing_off_the_wire": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"response\",\"spend\",\"metadata\",\"updated_at\",\"total_tokens\",\"api_base\",\"messages\",\"endTime\",\"model_id\",\"call_type\",\"cache_hit\",\"request_id\",\"agent_id\",\"custom_llm_provider\",\"prompt_tokens\",\"organization_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"model\",\"request_duration_ms\",\"litellm_call_id\",\"model_group\",\"request_tags\",\"user\",\"api_key\",\"completion_tokens\",\"session_id\",\"status\",\"requester_ip_address\",\"created_at\",\"cache_key\",\"startTime\",\"proxy_server_request\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"cache_hit\",\"metadata\",\"session_id\",\"model_group\",\"messages\",\"litellm_call_id\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"api_key\",\"spend\",\"model_id\",\"organization_id\",\"agent_id\",\"api_base\",\"call_type\",\"model\",\"user\",\"total_tokens\",\"custom_llm_provider\",\"completionStartTime\",\"team_id\",\"requester_ip_address\",\"proxy_server_request\",\"startTime\",\"end_user\",\"request_tags\",\"request_duration_ms\",\"endTime\",\"updated_at\",\"cache_key\",\"response\",\"completion_tokens\",\"request_id\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"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_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_batch_completion_accounting.py::test_completed_batch_spend_row_records_reasoning_tokens_and_error_file_failures": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"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\" (\"settings_updated_at\",\"router_settings\",\"agent_id\",\"last_active\",\"spend\",\"models\",\"created_at\",\"allowed_cache_controls\",\"metadata\",\"user_id\",\"budget_id\",\"max_parallel_requests\",\"token\",\"organization_id\",\"budget_duration\",\"project_id\",\"key_alias\",\"blocked\",\"key_rotation_at\",\"rpm_limit\",\"access_group_ids\",\"budget_fallbacks\",\"team_id\",\"rotation_count\",\"tpd_limit\",\"aliases\",\"expires\",\"rotation_interval\",\"soft_budget_cooldown\",\"allowed_routes\",\"litellm_changed_by\",\"policies\",\"deleted_at\",\"deleted_by_api_key\",\"tpm_limit\",\"last_rotation_at\",\"updated_by\",\"created_by\",\"budget_reset_at\",\"config\",\"id\",\"model_spend\",\"permissions\",\"updated_at\",\"deleted_by\",\"max_budget\",\"model_max_budget\",\"object_permission_id\",\"key_type\",\"key_name\",\"total_spend\",\"auto_rotate\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedObjectTable\" (\"id\",\"unified_object_id\",\"model_object_id\",\"file_object\",\"file_purpose\",\"status\",\"batch_processed\",\"created_at\",\"created_by\",\"team_id\",\"org_id\",\"api_key\",\"request_tags\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_object_id\") DO UPDATE SET \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n AND $n=$n) RETURNING \"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\" /* 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\" (\"endTime\",\"request_duration_ms\",\"completionStartTime\",\"spend\",\"request_tags\",\"model_id\",\"proxy_server_request\",\"agent_id\",\"status\",\"api_key\",\"end_user\",\"call_type\",\"mcp_namespaced_tool_name\",\"completion_tokens\",\"startTime\",\"team_id\",\"metadata\",\"updated_at\",\"model\",\"response\",\"organization_id\",\"requester_ip_address\",\"custom_llm_provider\",\"api_base\",\"cache_key\",\"created_at\",\"litellm_call_id\",\"messages\",\"user\",\"session_id\",\"model_group\",\"prompt_tokens\",\"request_id\",\"cache_hit\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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\".\"unified_object_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n OR \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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 \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_batch_observability.py::test_batch_retrieval_row_sums_reasoning_tokens_and_counts_output_and_error_file_failures": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"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\" (\"created_by\",\"models\",\"budget_reset_at\",\"config\",\"auto_rotate\",\"metadata\",\"max_budget\",\"rpm_limit\",\"budget_id\",\"key_rotation_at\",\"updated_by\",\"agent_id\",\"deleted_by_api_key\",\"object_permission_id\",\"aliases\",\"policies\",\"total_spend\",\"expires\",\"budget_duration\",\"tpd_limit\",\"last_active\",\"id\",\"blocked\",\"key_type\",\"user_id\",\"rotation_interval\",\"spend\",\"model_spend\",\"deleted_at\",\"allowed_routes\",\"budget_fallbacks\",\"key_name\",\"soft_budget_cooldown\",\"organization_id\",\"token\",\"updated_at\",\"rotation_count\",\"router_settings\",\"deleted_by\",\"permissions\",\"settings_updated_at\",\"allowed_cache_controls\",\"created_at\",\"litellm_changed_by\",\"key_alias\",\"team_id\",\"project_id\",\"max_parallel_requests\",\"last_rotation_at\",\"access_group_ids\",\"tpm_limit\",\"model_max_budget\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedObjectTable\" (\"id\",\"unified_object_id\",\"model_object_id\",\"file_object\",\"file_purpose\",\"status\",\"batch_processed\",\"created_at\",\"created_by\",\"team_id\",\"org_id\",\"api_key\",\"request_tags\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_object_id\") DO UPDATE SET \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n AND $n=$n) RETURNING \"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\" /* 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\" (\"completionStartTime\",\"status\",\"created_at\",\"proxy_server_request\",\"total_tokens\",\"model_id\",\"updated_at\",\"agent_id\",\"endTime\",\"response\",\"model_group\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"organization_id\",\"model\",\"session_id\",\"metadata\",\"api_key\",\"custom_llm_provider\",\"completion_tokens\",\"requester_ip_address\",\"api_base\",\"spend\",\"user\",\"cache_key\",\"cache_hit\",\"team_id\",\"prompt_tokens\",\"end_user\",\"request_tags\",\"messages\",\"request_duration_ms\",\"startTime\",\"call_type\",\"request_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"prompt_tokens\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"organization_id\",\"call_type\",\"model_group\",\"response\",\"updated_at\",\"custom_llm_provider\",\"endTime\",\"completionStartTime\",\"startTime\",\"proxy_server_request\",\"spend\",\"total_tokens\",\"created_at\",\"completion_tokens\",\"session_id\",\"request_duration_ms\",\"litellm_call_id\",\"api_base\",\"status\",\"agent_id\",\"user\",\"model\",\"cache_hit\",\"cache_key\",\"request_id\",\"team_id\",\"api_key\",\"metadata\",\"mcp_namespaced_tool_name\",\"messages\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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\".\"unified_object_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n OR \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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 \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $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/spend/test_batch_poll_starvation.py::test_batches_gone_at_provider_do_not_starve_a_newer_batch_out_of_cost_polling": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"soft_budget_cooldown\",\"organization_id\",\"max_parallel_requests\",\"project_id\",\"max_budget\",\"aliases\",\"token\",\"team_id\",\"last_active\",\"created_at\",\"allowed_routes\",\"deleted_by_api_key\",\"tpm_limit\",\"agent_id\",\"router_settings\",\"rpm_limit\",\"models\",\"deleted_by\",\"rotation_count\",\"model_max_budget\",\"policies\",\"key_rotation_at\",\"config\",\"permissions\",\"id\",\"budget_id\",\"spend\",\"budget_duration\",\"key_alias\",\"rotation_interval\",\"last_rotation_at\",\"created_by\",\"model_spend\",\"user_id\",\"settings_updated_at\",\"updated_at\",\"object_permission_id\",\"expires\",\"deleted_at\",\"allowed_cache_controls\",\"key_type\",\"updated_by\",\"key_name\",\"budget_fallbacks\",\"tpd_limit\",\"auto_rotate\",\"metadata\",\"litellm_changed_by\",\"budget_reset_at\",\"total_spend\",\"access_group_ids\",\"blocked\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"file_object\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"file_object\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedFileTable\" (\"id\",\"unified_file_id\",\"model_mappings\",\"flat_model_file_ids\",\"created_at\",\"created_by\",\"team_id\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_file_id\") DO UPDATE SET \"model_mappings\" = $n, \"flat_model_file_ids\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ManagedObjectTable\" (\"id\",\"unified_object_id\",\"model_object_id\",\"file_object\",\"file_purpose\",\"status\",\"batch_processed\",\"created_at\",\"created_by\",\"team_id\",\"org_id\",\"api_key\",\"request_tags\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"unified_object_id\") DO UPDATE SET \"file_object\" = $n, \"status\" = $n, \"updated_by\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"session_id\",\"model_id\",\"completionStartTime\",\"startTime\",\"custom_llm_provider\",\"request_duration_ms\",\"created_at\",\"total_tokens\",\"endTime\",\"status\",\"user\",\"litellm_call_id\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"model_group\",\"updated_at\",\"api_key\",\"completion_tokens\",\"model\",\"call_type\",\"spend\",\"metadata\",\"request_id\",\"proxy_server_request\",\"response\",\"cache_key\",\"prompt_tokens\",\"end_user\",\"request_tags\",\"team_id\",\"agent_id\",\"messages\",\"organization_id\",\"requester_ip_address\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"litellm_call_id\",\"session_id\",\"model_id\",\"request_duration_ms\",\"api_key\",\"completion_tokens\",\"response\",\"end_user\",\"endTime\",\"status\",\"cache_key\",\"request_id\",\"messages\",\"requester_ip_address\",\"model\",\"user\",\"startTime\",\"custom_llm_provider\",\"team_id\",\"model_group\",\"agent_id\",\"api_base\",\"created_at\",\"spend\",\"prompt_tokens\",\"request_tags\",\"updated_at\",\"total_tokens\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"metadata\",\"organization_id\",\"call_type\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"call_type\",\"proxy_server_request\",\"startTime\",\"completion_tokens\",\"request_id\",\"api_key\",\"prompt_tokens\",\"created_at\",\"request_tags\",\"user\",\"messages\",\"completionStartTime\",\"model\",\"updated_at\",\"organization_id\",\"model_group\",\"end_user\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"status\",\"response\",\"cache_key\",\"cache_hit\",\"spend\",\"session_id\",\"total_tokens\",\"agent_id\",\"model_id\",\"requester_ip_address\",\"endTime\",\"litellm_call_id\",\"team_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"litellm_call_id\",\"prompt_tokens\",\"completion_tokens\",\"startTime\",\"proxy_server_request\",\"model_group\",\"requester_ip_address\",\"total_tokens\",\"endTime\",\"organization_id\",\"completionStartTime\",\"request_tags\",\"agent_id\",\"user\",\"status\",\"team_id\",\"model_id\",\"messages\",\"end_user\",\"api_key\",\"model\",\"request_id\",\"spend\",\"cache_hit\",\"created_at\",\"call_type\",\"response\",\"api_base\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"session_id\",\"updated_at\",\"cache_key\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model\",\"prompt_tokens\",\"request_id\",\"api_key\",\"end_user\",\"spend\",\"total_tokens\",\"session_id\",\"organization_id\",\"request_duration_ms\",\"created_at\",\"api_base\",\"litellm_call_id\",\"status\",\"metadata\",\"updated_at\",\"completion_tokens\",\"requester_ip_address\",\"user\",\"cache_hit\",\"messages\",\"call_type\",\"endTime\",\"response\",\"team_id\",\"request_tags\",\"model_group\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\",\"agent_id\",\"cache_key\",\"mcp_namespaced_tool_name\",\"completionStartTime\",\"startTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedFileTable\".\"id\", \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"file_object\", \"public\".\"LiteLLM_ManagedFileTable\".\"model_mappings\", \"public\".\"LiteLLM_ManagedFileTable\".\"flat_model_file_ids\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_backend\", \"public\".\"LiteLLM_ManagedFileTable\".\"storage_url\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"created_by\", \"public\".\"LiteLLM_ManagedFileTable\".\"team_id\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedFileTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedFileTable\" WHERE \"public\".\"LiteLLM_ManagedFileTable\".\"unified_file_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"file_object\" = $n, \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"id\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_cache_and_quota.py::test_different_system_messages_do_not_share_a_cached_response": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"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"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_cache_and_quota.py::test_generated_cache_sequences_preserve_content_usage_and_zero_hit_cost": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"blocked\",\"deleted_by_api_key\",\"tpd_limit\",\"last_rotation_at\",\"auto_rotate\",\"organization_id\",\"access_group_ids\",\"object_permission_id\",\"allowed_cache_controls\",\"updated_at\",\"expires\",\"created_by\",\"last_active\",\"agent_id\",\"key_type\",\"key_name\",\"total_spend\",\"soft_budget_cooldown\",\"team_id\",\"policies\",\"key_rotation_at\",\"budget_id\",\"project_id\",\"id\",\"updated_by\",\"user_id\",\"metadata\",\"key_alias\",\"budget_duration\",\"config\",\"rpm_limit\",\"deleted_by\",\"tpm_limit\",\"settings_updated_at\",\"router_settings\",\"models\",\"allowed_routes\",\"model_spend\",\"deleted_at\",\"token\",\"litellm_changed_by\",\"rotation_interval\",\"model_max_budget\",\"spend\",\"budget_fallbacks\",\"max_budget\",\"rotation_count\",\"created_at\",\"permissions\",\"aliases\",\"budget_reset_at\",\"max_parallel_requests\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"blocked\",\"rotation_interval\",\"last_rotation_at\",\"budget_duration\",\"budget_fallbacks\",\"aliases\",\"metadata\",\"rotation_count\",\"spend\",\"permissions\",\"deleted_by_api_key\",\"budget_id\",\"created_at\",\"config\",\"token\",\"key_type\",\"auto_rotate\",\"id\",\"key_name\",\"key_rotation_at\",\"model_spend\",\"key_alias\",\"max_parallel_requests\",\"expires\",\"team_id\",\"last_active\",\"user_id\",\"litellm_changed_by\",\"tpm_limit\",\"models\",\"allowed_routes\",\"tpd_limit\",\"organization_id\",\"soft_budget_cooldown\",\"deleted_by\",\"object_permission_id\",\"rpm_limit\",\"allowed_cache_controls\",\"max_budget\",\"updated_at\",\"total_spend\",\"created_by\",\"model_max_budget\",\"access_group_ids\",\"router_settings\",\"budget_reset_at\",\"settings_updated_at\",\"updated_by\",\"policies\",\"deleted_at\",\"project_id\",\"agent_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"deleted_at\",\"rotation_interval\",\"organization_id\",\"team_id\",\"model_spend\",\"last_active\",\"models\",\"budget_id\",\"allowed_routes\",\"max_parallel_requests\",\"deleted_by_api_key\",\"expires\",\"rpm_limit\",\"agent_id\",\"soft_budget_cooldown\",\"updated_by\",\"key_alias\",\"permissions\",\"auto_rotate\",\"rotation_count\",\"budget_fallbacks\",\"last_rotation_at\",\"allowed_cache_controls\",\"router_settings\",\"tpm_limit\",\"access_group_ids\",\"litellm_changed_by\",\"id\",\"blocked\",\"object_permission_id\",\"project_id\",\"deleted_by\",\"key_name\",\"user_id\",\"created_by\",\"settings_updated_at\",\"updated_at\",\"key_rotation_at\",\"key_type\",\"tpd_limit\",\"budget_duration\",\"policies\",\"max_budget\",\"token\",\"budget_reset_at\",\"total_spend\",\"spend\",\"created_at\",\"aliases\",\"model_max_budget\",\"metadata\",\"config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"agent_id\",\"project_id\",\"tpd_limit\",\"last_active\",\"id\",\"deleted_by\",\"blocked\",\"budget_duration\",\"key_type\",\"created_at\",\"rotation_count\",\"rotation_interval\",\"spend\",\"model_max_budget\",\"metadata\",\"budget_id\",\"tpm_limit\",\"allowed_cache_controls\",\"token\",\"auto_rotate\",\"soft_budget_cooldown\",\"deleted_at\",\"key_alias\",\"models\",\"budget_reset_at\",\"max_budget\",\"key_rotation_at\",\"updated_at\",\"key_name\",\"policies\",\"litellm_changed_by\",\"aliases\",\"router_settings\",\"budget_fallbacks\",\"user_id\",\"team_id\",\"model_spend\",\"config\",\"updated_by\",\"access_group_ids\",\"created_by\",\"last_rotation_at\",\"max_parallel_requests\",\"organization_id\",\"deleted_by_api_key\",\"object_permission_id\",\"rpm_limit\",\"total_spend\",\"allowed_routes\",\"settings_updated_at\",\"permissions\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"key_type\",\"aliases\",\"rpm_limit\",\"budget_duration\",\"models\",\"agent_id\",\"object_permission_id\",\"router_settings\",\"permissions\",\"deleted_by_api_key\",\"metadata\",\"rotation_count\",\"deleted_at\",\"spend\",\"organization_id\",\"model_max_budget\",\"soft_budget_cooldown\",\"rotation_interval\",\"max_parallel_requests\",\"allowed_cache_controls\",\"updated_at\",\"blocked\",\"budget_id\",\"last_rotation_at\",\"project_id\",\"max_budget\",\"created_at\",\"deleted_by\",\"policies\",\"key_rotation_at\",\"litellm_changed_by\",\"key_alias\",\"allowed_routes\",\"tpd_limit\",\"model_spend\",\"key_name\",\"total_spend\",\"id\",\"config\",\"settings_updated_at\",\"user_id\",\"team_id\",\"last_active\",\"created_by\",\"budget_fallbacks\",\"access_group_ids\",\"updated_by\",\"budget_reset_at\",\"auto_rotate\",\"token\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"expires\",\"total_spend\",\"updated_at\",\"permissions\",\"token\",\"key_rotation_at\",\"organization_id\",\"max_budget\",\"key_name\",\"model_spend\",\"last_active\",\"deleted_by_api_key\",\"last_rotation_at\",\"rotation_interval\",\"models\",\"key_alias\",\"blocked\",\"spend\",\"settings_updated_at\",\"max_parallel_requests\",\"team_id\",\"model_max_budget\",\"created_by\",\"budget_reset_at\",\"agent_id\",\"rotation_count\",\"deleted_by\",\"aliases\",\"rpm_limit\",\"router_settings\",\"tpm_limit\",\"deleted_at\",\"allowed_routes\",\"allowed_cache_controls\",\"object_permission_id\",\"project_id\",\"budget_duration\",\"policies\",\"created_at\",\"access_group_ids\",\"key_type\",\"config\",\"budget_fallbacks\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"tpd_limit\",\"auto_rotate\",\"id\",\"user_id\",\"budget_id\",\"metadata\",\"updated_by\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"id\",\"tpd_limit\",\"router_settings\",\"rotation_count\",\"aliases\",\"agent_id\",\"last_active\",\"rotation_interval\",\"deleted_by_api_key\",\"max_budget\",\"object_permission_id\",\"budget_fallbacks\",\"deleted_at\",\"tpm_limit\",\"budget_duration\",\"budget_id\",\"permissions\",\"key_alias\",\"allowed_cache_controls\",\"settings_updated_at\",\"user_id\",\"max_parallel_requests\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"project_id\",\"created_at\",\"team_id\",\"expires\",\"blocked\",\"total_spend\",\"policies\",\"last_rotation_at\",\"spend\",\"updated_by\",\"token\",\"budget_reset_at\",\"deleted_by\",\"model_spend\",\"key_name\",\"metadata\",\"model_max_budget\",\"rpm_limit\",\"models\",\"created_by\",\"updated_at\",\"allowed_routes\",\"access_group_ids\",\"key_type\",\"organization_id\",\"config\",\"auto_rotate\",\"key_rotation_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"key_type\",\"expires\",\"project_id\",\"allowed_cache_controls\",\"models\",\"key_alias\",\"metadata\",\"created_at\",\"created_by\",\"config\",\"budget_reset_at\",\"deleted_at\",\"allowed_routes\",\"updated_at\",\"tpd_limit\",\"rotation_interval\",\"rpm_limit\",\"model_spend\",\"permissions\",\"team_id\",\"max_budget\",\"budget_fallbacks\",\"total_spend\",\"policies\",\"spend\",\"id\",\"budget_id\",\"access_group_ids\",\"agent_id\",\"user_id\",\"settings_updated_at\",\"key_rotation_at\",\"soft_budget_cooldown\",\"aliases\",\"blocked\",\"router_settings\",\"rotation_count\",\"tpm_limit\",\"budget_duration\",\"max_parallel_requests\",\"deleted_by\",\"token\",\"object_permission_id\",\"litellm_changed_by\",\"last_rotation_at\",\"model_max_budget\",\"auto_rotate\",\"key_name\",\"updated_by\",\"organization_id\",\"last_active\",\"deleted_by_api_key\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"organization_id\",\"permissions\",\"key_name\",\"spend\",\"total_spend\",\"user_id\",\"tpd_limit\",\"deleted_by\",\"rpm_limit\",\"updated_at\",\"token\",\"last_active\",\"budget_fallbacks\",\"litellm_changed_by\",\"config\",\"key_alias\",\"agent_id\",\"soft_budget_cooldown\",\"model_spend\",\"rotation_interval\",\"budget_reset_at\",\"allowed_routes\",\"deleted_at\",\"rotation_count\",\"id\",\"max_parallel_requests\",\"settings_updated_at\",\"router_settings\",\"max_budget\",\"model_max_budget\",\"tpm_limit\",\"key_type\",\"access_group_ids\",\"team_id\",\"created_at\",\"object_permission_id\",\"auto_rotate\",\"last_rotation_at\",\"budget_id\",\"created_by\",\"key_rotation_at\",\"budget_duration\",\"deleted_by_api_key\",\"aliases\",\"metadata\",\"policies\",\"expires\",\"updated_by\",\"allowed_cache_controls\",\"project_id\",\"blocked\",\"models\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"permissions\",\"last_active\",\"key_name\",\"policies\",\"id\",\"settings_updated_at\",\"max_budget\",\"created_by\",\"model_max_budget\",\"metadata\",\"key_type\",\"key_rotation_at\",\"auto_rotate\",\"tpd_limit\",\"updated_at\",\"team_id\",\"rotation_count\",\"model_spend\",\"key_alias\",\"allowed_routes\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"blocked\",\"created_at\",\"user_id\",\"deleted_at\",\"last_rotation_at\",\"expires\",\"budget_id\",\"models\",\"total_spend\",\"budget_duration\",\"config\",\"deleted_by_api_key\",\"budget_reset_at\",\"project_id\",\"budget_fallbacks\",\"aliases\",\"access_group_ids\",\"tpm_limit\",\"token\",\"organization_id\",\"router_settings\",\"updated_by\",\"rpm_limit\",\"deleted_by\",\"object_permission_id\",\"agent_id\",\"max_parallel_requests\",\"allowed_cache_controls\",\"spend\",\"rotation_interval\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"project_id\",\"team_id\",\"tpm_limit\",\"aliases\",\"model_max_budget\",\"total_spend\",\"organization_id\",\"soft_budget_cooldown\",\"blocked\",\"last_active\",\"key_alias\",\"object_permission_id\",\"expires\",\"router_settings\",\"metadata\",\"litellm_changed_by\",\"key_name\",\"max_parallel_requests\",\"deleted_at\",\"permissions\",\"config\",\"model_spend\",\"budget_fallbacks\",\"agent_id\",\"created_at\",\"deleted_by\",\"policies\",\"rpm_limit\",\"allowed_routes\",\"rotation_count\",\"id\",\"user_id\",\"auto_rotate\",\"key_type\",\"max_budget\",\"models\",\"updated_at\",\"token\",\"key_rotation_at\",\"budget_duration\",\"updated_by\",\"last_rotation_at\",\"rotation_interval\",\"tpd_limit\",\"access_group_ids\",\"budget_reset_at\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"budget_id\",\"created_by\",\"settings_updated_at\",\"spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"router_settings\",\"litellm_changed_by\",\"spend\",\"allowed_routes\",\"tpd_limit\",\"model_spend\",\"expires\",\"budget_reset_at\",\"rpm_limit\",\"max_budget\",\"rotation_interval\",\"updated_at\",\"key_type\",\"key_rotation_at\",\"settings_updated_at\",\"id\",\"config\",\"last_active\",\"created_by\",\"project_id\",\"token\",\"created_at\",\"deleted_at\",\"permissions\",\"agent_id\",\"updated_by\",\"metadata\",\"team_id\",\"models\",\"key_alias\",\"deleted_by_api_key\",\"max_parallel_requests\",\"auto_rotate\",\"deleted_by\",\"budget_duration\",\"blocked\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"rotation_count\",\"user_id\",\"total_spend\",\"organization_id\",\"budget_id\",\"model_max_budget\",\"access_group_ids\",\"last_rotation_at\",\"budget_fallbacks\",\"aliases\",\"key_name\",\"object_permission_id\",\"policies\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"router_settings\",\"tpd_limit\",\"deleted_by\",\"token\",\"config\",\"deleted_by_api_key\",\"key_rotation_at\",\"rpm_limit\",\"budget_reset_at\",\"deleted_at\",\"max_parallel_requests\",\"total_spend\",\"updated_by\",\"soft_budget_cooldown\",\"agent_id\",\"last_rotation_at\",\"aliases\",\"model_max_budget\",\"id\",\"rotation_interval\",\"created_by\",\"rotation_count\",\"allowed_cache_controls\",\"key_name\",\"key_type\",\"auto_rotate\",\"permissions\",\"budget_fallbacks\",\"updated_at\",\"project_id\",\"key_alias\",\"tpm_limit\",\"last_active\",\"litellm_changed_by\",\"metadata\",\"allowed_routes\",\"object_permission_id\",\"created_at\",\"blocked\",\"settings_updated_at\",\"budget_id\",\"models\",\"policies\",\"access_group_ids\",\"team_id\",\"budget_duration\",\"user_id\",\"expires\",\"spend\",\"model_spend\",\"max_budget\",\"organization_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"token\",\"user_id\",\"created_by\",\"key_type\",\"auto_rotate\",\"deleted_by\",\"key_rotation_at\",\"last_rotation_at\",\"last_active\",\"rotation_count\",\"blocked\",\"settings_updated_at\",\"updated_by\",\"key_alias\",\"policies\",\"updated_at\",\"max_parallel_requests\",\"rpm_limit\",\"deleted_at\",\"max_budget\",\"tpd_limit\",\"budget_id\",\"rotation_interval\",\"models\",\"metadata\",\"id\",\"allowed_cache_controls\",\"agent_id\",\"object_permission_id\",\"team_id\",\"budget_reset_at\",\"config\",\"project_id\",\"organization_id\",\"aliases\",\"tpm_limit\",\"total_spend\",\"router_settings\",\"budget_duration\",\"model_max_budget\",\"deleted_by_api_key\",\"key_name\",\"created_at\",\"allowed_routes\",\"litellm_changed_by\",\"spend\",\"expires\",\"budget_fallbacks\",\"permissions\",\"access_group_ids\",\"soft_budget_cooldown\",\"model_spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"tpm_limit\",\"created_by\",\"max_parallel_requests\",\"metadata\",\"team_id\",\"models\",\"updated_at\",\"rotation_count\",\"settings_updated_at\",\"budget_reset_at\",\"budget_duration\",\"key_name\",\"access_group_ids\",\"deleted_by\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"policies\",\"max_budget\",\"total_spend\",\"object_permission_id\",\"permissions\",\"created_at\",\"blocked\",\"litellm_changed_by\",\"last_active\",\"token\",\"router_settings\",\"soft_budget_cooldown\",\"project_id\",\"key_alias\",\"id\",\"allowed_routes\",\"tpd_limit\",\"budget_fallbacks\",\"rotation_interval\",\"model_max_budget\",\"updated_by\",\"config\",\"spend\",\"rpm_limit\",\"agent_id\",\"last_rotation_at\",\"key_type\",\"budget_id\",\"organization_id\",\"deleted_at\",\"key_rotation_at\",\"user_id\",\"auto_rotate\",\"expires\",\"aliases\",\"model_spend\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"auto_rotate\",\"budget_fallbacks\",\"token\",\"object_permission_id\",\"max_budget\",\"allowed_routes\",\"permissions\",\"settings_updated_at\",\"blocked\",\"soft_budget_cooldown\",\"team_id\",\"deleted_by\",\"total_spend\",\"access_group_ids\",\"last_active\",\"tpd_limit\",\"rotation_interval\",\"organization_id\",\"model_spend\",\"rpm_limit\",\"budget_id\",\"models\",\"spend\",\"tpm_limit\",\"model_max_budget\",\"user_id\",\"project_id\",\"created_at\",\"id\",\"aliases\",\"key_rotation_at\",\"config\",\"budget_duration\",\"policies\",\"deleted_by_api_key\",\"created_by\",\"updated_at\",\"expires\",\"allowed_cache_controls\",\"agent_id\",\"budget_reset_at\",\"key_type\",\"rotation_count\",\"max_parallel_requests\",\"key_alias\",\"last_rotation_at\",\"metadata\",\"litellm_changed_by\",\"key_name\",\"deleted_at\",\"router_settings\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"config\",\"updated_at\",\"policies\",\"allowed_routes\",\"id\",\"aliases\",\"blocked\",\"token\",\"model_max_budget\",\"key_rotation_at\",\"expires\",\"key_type\",\"budget_fallbacks\",\"user_id\",\"last_rotation_at\",\"budget_id\",\"key_name\",\"rpm_limit\",\"settings_updated_at\",\"deleted_by\",\"max_budget\",\"budget_duration\",\"auto_rotate\",\"max_parallel_requests\",\"created_at\",\"object_permission_id\",\"router_settings\",\"allowed_cache_controls\",\"access_group_ids\",\"agent_id\",\"total_spend\",\"models\",\"soft_budget_cooldown\",\"project_id\",\"rotation_interval\",\"tpd_limit\",\"metadata\",\"budget_reset_at\",\"permissions\",\"key_alias\",\"tpm_limit\",\"deleted_by_api_key\",\"organization_id\",\"litellm_changed_by\",\"deleted_at\",\"team_id\",\"last_active\",\"created_by\",\"spend\",\"model_spend\",\"rotation_count\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"max_parallel_requests\",\"total_spend\",\"model_max_budget\",\"id\",\"rotation_count\",\"blocked\",\"router_settings\",\"user_id\",\"tpm_limit\",\"deleted_at\",\"budget_reset_at\",\"last_rotation_at\",\"aliases\",\"object_permission_id\",\"metadata\",\"key_name\",\"max_budget\",\"organization_id\",\"key_rotation_at\",\"allowed_routes\",\"access_group_ids\",\"budget_duration\",\"auto_rotate\",\"updated_at\",\"deleted_by\",\"tpd_limit\",\"policies\",\"team_id\",\"key_alias\",\"permissions\",\"config\",\"budget_id\",\"expires\",\"key_type\",\"deleted_by_api_key\",\"agent_id\",\"allowed_cache_controls\",\"model_spend\",\"project_id\",\"soft_budget_cooldown\",\"budget_fallbacks\",\"litellm_changed_by\",\"models\",\"settings_updated_at\",\"spend\",\"rpm_limit\",\"token\",\"created_by\",\"last_active\",\"created_at\",\"rotation_interval\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"user_id\",\"allowed_cache_controls\",\"budget_reset_at\",\"total_spend\",\"budget_fallbacks\",\"deleted_at\",\"metadata\",\"deleted_by\",\"key_alias\",\"auto_rotate\",\"team_id\",\"updated_at\",\"tpm_limit\",\"last_rotation_at\",\"blocked\",\"rpm_limit\",\"access_group_ids\",\"key_rotation_at\",\"organization_id\",\"permissions\",\"allowed_routes\",\"created_at\",\"key_type\",\"key_name\",\"tpd_limit\",\"max_budget\",\"soft_budget_cooldown\",\"object_permission_id\",\"updated_by\",\"router_settings\",\"aliases\",\"deleted_by_api_key\",\"max_parallel_requests\",\"id\",\"last_active\",\"rotation_count\",\"litellm_changed_by\",\"policies\",\"config\",\"expires\",\"project_id\",\"token\",\"budget_id\",\"spend\",\"settings_updated_at\",\"rotation_interval\",\"budget_duration\",\"model_max_budget\",\"model_spend\",\"created_by\",\"models\",\"agent_id\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"user_id\",\"permissions\",\"object_permission_id\",\"allowed_cache_controls\",\"rpm_limit\",\"team_id\",\"settings_updated_at\",\"budget_reset_at\",\"expires\",\"auto_rotate\",\"created_by\",\"blocked\",\"tpd_limit\",\"deleted_by_api_key\",\"tpm_limit\",\"key_type\",\"rotation_interval\",\"updated_by\",\"total_spend\",\"max_budget\",\"budget_duration\",\"metadata\",\"max_parallel_requests\",\"rotation_count\",\"deleted_by\",\"model_spend\",\"key_alias\",\"aliases\",\"organization_id\",\"config\",\"key_rotation_at\",\"budget_id\",\"deleted_at\",\"agent_id\",\"created_at\",\"project_id\",\"litellm_changed_by\",\"last_active\",\"access_group_ids\",\"allowed_routes\",\"budget_fallbacks\",\"id\",\"router_settings\",\"updated_at\",\"key_name\",\"policies\",\"token\",\"last_rotation_at\",\"soft_budget_cooldown\",\"models\",\"model_max_budget\",\"spend\") 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\" (\"agent_id\",\"call_type\",\"model_group\",\"organization_id\",\"api_base\",\"api_key\",\"model_id\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"completionStartTime\",\"response\",\"messages\",\"endTime\",\"total_tokens\",\"requester_ip_address\",\"cache_hit\",\"spend\",\"request_tags\",\"proxy_server_request\",\"status\",\"cache_key\",\"session_id\",\"litellm_call_id\",\"request_duration_ms\",\"metadata\",\"team_id\",\"model\",\"request_id\",\"end_user\",\"prompt_tokens\",\"completion_tokens\",\"startTime\",\"created_at\",\"updated_at\",\"user\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"custom_llm_provider\",\"requester_ip_address\",\"messages\",\"request_tags\",\"endTime\",\"litellm_call_id\",\"proxy_server_request\",\"team_id\",\"request_duration_ms\",\"response\",\"metadata\",\"completion_tokens\",\"startTime\",\"end_user\",\"total_tokens\",\"cache_hit\",\"request_id\",\"call_type\",\"model_id\",\"organization_id\",\"user\",\"session_id\",\"model_group\",\"agent_id\",\"cache_key\",\"created_at\",\"spend\",\"completionStartTime\",\"status\",\"model\",\"mcp_namespaced_tool_name\",\"updated_at\",\"prompt_tokens\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"session_id\",\"model_id\",\"mcp_namespaced_tool_name\",\"metadata\",\"updated_at\",\"request_duration_ms\",\"messages\",\"team_id\",\"prompt_tokens\",\"spend\",\"status\",\"end_user\",\"requester_ip_address\",\"api_key\",\"completion_tokens\",\"request_tags\",\"created_at\",\"model\",\"cache_hit\",\"litellm_call_id\",\"model_group\",\"completionStartTime\",\"user\",\"organization_id\",\"startTime\",\"endTime\",\"request_id\",\"agent_id\",\"total_tokens\",\"custom_llm_provider\",\"cache_key\",\"proxy_server_request\",\"api_base\",\"response\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"call_type\",\"status\",\"total_tokens\",\"litellm_call_id\",\"cache_key\",\"custom_llm_provider\",\"request_id\",\"endTime\",\"completionStartTime\",\"spend\",\"model_id\",\"team_id\",\"updated_at\",\"prompt_tokens\",\"request_tags\",\"mcp_namespaced_tool_name\",\"metadata\",\"cache_hit\",\"session_id\",\"response\",\"agent_id\",\"model_group\",\"requester_ip_address\",\"request_duration_ms\",\"completion_tokens\",\"model\",\"organization_id\",\"created_at\",\"api_base\",\"messages\",\"startTime\",\"end_user\",\"api_key\",\"user\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"prompt_tokens\",\"cache_key\",\"model_group\",\"proxy_server_request\",\"agent_id\",\"team_id\",\"updated_at\",\"request_tags\",\"endTime\",\"metadata\",\"session_id\",\"model_id\",\"spend\",\"total_tokens\",\"created_at\",\"user\",\"end_user\",\"response\",\"api_base\",\"call_type\",\"completion_tokens\",\"status\",\"requester_ip_address\",\"startTime\",\"custom_llm_provider\",\"request_id\",\"model\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"api_key\",\"organization_id\",\"cache_hit\",\"messages\",\"litellm_call_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"end_user\",\"total_tokens\",\"user\",\"request_tags\",\"metadata\",\"custom_llm_provider\",\"status\",\"completionStartTime\",\"cache_key\",\"agent_id\",\"session_id\",\"created_at\",\"requester_ip_address\",\"team_id\",\"organization_id\",\"response\",\"model_id\",\"litellm_call_id\",\"request_id\",\"prompt_tokens\",\"proxy_server_request\",\"api_key\",\"messages\",\"request_duration_ms\",\"startTime\",\"completion_tokens\",\"call_type\",\"model\",\"mcp_namespaced_tool_name\",\"endTime\",\"cache_hit\",\"updated_at\",\"api_base\",\"spend\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"messages\",\"prompt_tokens\",\"spend\",\"total_tokens\",\"model_id\",\"litellm_call_id\",\"requester_ip_address\",\"cache_key\",\"endTime\",\"team_id\",\"session_id\",\"api_base\",\"updated_at\",\"cache_hit\",\"response\",\"call_type\",\"organization_id\",\"proxy_server_request\",\"status\",\"created_at\",\"user\",\"startTime\",\"request_duration_ms\",\"agent_id\",\"metadata\",\"completionStartTime\",\"end_user\",\"model\",\"completion_tokens\",\"api_key\",\"mcp_namespaced_tool_name\",\"request_tags\",\"request_id\",\"custom_llm_provider\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"messages\",\"user\",\"call_type\",\"end_user\",\"api_key\",\"completion_tokens\",\"metadata\",\"endTime\",\"organization_id\",\"mcp_namespaced_tool_name\",\"model_group\",\"request_duration_ms\",\"session_id\",\"created_at\",\"spend\",\"agent_id\",\"api_base\",\"startTime\",\"status\",\"completionStartTime\",\"litellm_call_id\",\"cache_key\",\"cache_hit\",\"request_id\",\"model_id\",\"requester_ip_address\",\"response\",\"updated_at\",\"proxy_server_request\",\"request_tags\",\"prompt_tokens\",\"total_tokens\",\"team_id\",\"custom_llm_provider\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"messages\",\"model_id\",\"request_id\",\"mcp_namespaced_tool_name\",\"status\",\"spend\",\"api_key\",\"endTime\",\"custom_llm_provider\",\"completion_tokens\",\"api_base\",\"created_at\",\"request_tags\",\"call_type\",\"metadata\",\"team_id\",\"updated_at\",\"model\",\"proxy_server_request\",\"request_duration_ms\",\"user\",\"response\",\"litellm_call_id\",\"completionStartTime\",\"session_id\",\"cache_key\",\"agent_id\",\"startTime\",\"end_user\",\"total_tokens\",\"prompt_tokens\",\"organization_id\",\"requester_ip_address\",\"cache_hit\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_id\",\"total_tokens\",\"cache_hit\",\"spend\",\"user\",\"completion_tokens\",\"request_duration_ms\",\"end_user\",\"status\",\"litellm_call_id\",\"created_at\",\"prompt_tokens\",\"call_type\",\"team_id\",\"endTime\",\"custom_llm_provider\",\"updated_at\",\"api_key\",\"proxy_server_request\",\"model_group\",\"api_base\",\"messages\",\"cache_key\",\"response\",\"metadata\",\"requester_ip_address\",\"agent_id\",\"mcp_namespaced_tool_name\",\"request_tags\",\"completionStartTime\",\"model\",\"organization_id\",\"session_id\",\"startTime\",\"request_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"organization_id\",\"request_tags\",\"model_id\",\"api_key\",\"team_id\",\"end_user\",\"completion_tokens\",\"startTime\",\"model_group\",\"spend\",\"requester_ip_address\",\"created_at\",\"completionStartTime\",\"model\",\"cache_key\",\"total_tokens\",\"metadata\",\"mcp_namespaced_tool_name\",\"user\",\"status\",\"custom_llm_provider\",\"prompt_tokens\",\"proxy_server_request\",\"cache_hit\",\"litellm_call_id\",\"response\",\"updated_at\",\"session_id\",\"agent_id\",\"request_duration_ms\",\"api_base\",\"call_type\",\"endTime\",\"messages\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"cache_hit\",\"status\",\"litellm_call_id\",\"messages\",\"request_duration_ms\",\"cache_key\",\"metadata\",\"api_key\",\"agent_id\",\"completionStartTime\",\"response\",\"api_base\",\"model\",\"model_group\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"created_at\",\"total_tokens\",\"organization_id\",\"startTime\",\"updated_at\",\"custom_llm_provider\",\"team_id\",\"endTime\",\"proxy_server_request\",\"spend\",\"completion_tokens\",\"user\",\"request_id\",\"prompt_tokens\",\"end_user\",\"call_type\",\"session_id\",\"model_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"request_duration_ms\",\"request_tags\",\"model\",\"api_key\",\"custom_llm_provider\",\"requester_ip_address\",\"team_id\",\"cache_key\",\"user\",\"mcp_namespaced_tool_name\",\"model_group\",\"messages\",\"updated_at\",\"response\",\"startTime\",\"end_user\",\"created_at\",\"cache_hit\",\"metadata\",\"litellm_call_id\",\"proxy_server_request\",\"request_id\",\"status\",\"spend\",\"organization_id\",\"model_id\",\"endTime\",\"call_type\",\"completion_tokens\",\"prompt_tokens\",\"total_tokens\",\"completionStartTime\",\"agent_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"total_tokens\",\"litellm_call_id\",\"completion_tokens\",\"proxy_server_request\",\"updated_at\",\"requester_ip_address\",\"user\",\"created_at\",\"team_id\",\"completionStartTime\",\"response\",\"messages\",\"status\",\"request_duration_ms\",\"model_id\",\"spend\",\"api_key\",\"call_type\",\"cache_key\",\"end_user\",\"request_id\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"prompt_tokens\",\"api_base\",\"organization_id\",\"agent_id\",\"endTime\",\"model\",\"custom_llm_provider\",\"metadata\",\"startTime\",\"model_group\",\"request_tags\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"cache_key\",\"total_tokens\",\"completion_tokens\",\"request_tags\",\"model_group\",\"agent_id\",\"api_base\",\"requester_ip_address\",\"cache_hit\",\"endTime\",\"api_key\",\"completionStartTime\",\"spend\",\"proxy_server_request\",\"user\",\"model\",\"mcp_namespaced_tool_name\",\"metadata\",\"model_id\",\"end_user\",\"request_id\",\"session_id\",\"call_type\",\"messages\",\"response\",\"organization_id\",\"updated_at\",\"request_duration_ms\",\"custom_llm_provider\",\"created_at\",\"startTime\",\"prompt_tokens\",\"litellm_call_id\",\"status\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"metadata\",\"end_user\",\"response\",\"model\",\"status\",\"session_id\",\"startTime\",\"custom_llm_provider\",\"model_id\",\"litellm_call_id\",\"organization_id\",\"cache_key\",\"spend\",\"completion_tokens\",\"request_duration_ms\",\"proxy_server_request\",\"model_group\",\"endTime\",\"messages\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"request_tags\",\"api_key\",\"user\",\"completionStartTime\",\"call_type\",\"created_at\",\"prompt_tokens\",\"total_tokens\",\"updated_at\",\"agent_id\",\"request_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"proxy_server_request\",\"agent_id\",\"litellm_call_id\",\"total_tokens\",\"request_tags\",\"session_id\",\"messages\",\"created_at\",\"organization_id\",\"metadata\",\"model_id\",\"team_id\",\"request_duration_ms\",\"model\",\"model_group\",\"call_type\",\"completion_tokens\",\"cache_hit\",\"api_base\",\"user\",\"completionStartTime\",\"cache_key\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"api_key\",\"response\",\"requester_ip_address\",\"status\",\"spend\",\"request_id\",\"endTime\",\"startTime\",\"end_user\",\"prompt_tokens\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"spend\",\"total_tokens\",\"model\",\"cache_key\",\"model_id\",\"created_at\",\"startTime\",\"completionStartTime\",\"status\",\"api_key\",\"proxy_server_request\",\"user\",\"response\",\"completion_tokens\",\"requester_ip_address\",\"endTime\",\"request_tags\",\"custom_llm_provider\",\"request_id\",\"prompt_tokens\",\"team_id\",\"cache_hit\",\"call_type\",\"agent_id\",\"model_group\",\"session_id\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"end_user\",\"organization_id\",\"metadata\",\"messages\",\"litellm_call_id\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"user\",\"request_duration_ms\",\"litellm_call_id\",\"requester_ip_address\",\"messages\",\"model_id\",\"cache_hit\",\"agent_id\",\"status\",\"completion_tokens\",\"proxy_server_request\",\"model\",\"startTime\",\"organization_id\",\"session_id\",\"cache_key\",\"prompt_tokens\",\"end_user\",\"created_at\",\"api_key\",\"spend\",\"model_group\",\"team_id\",\"custom_llm_provider\",\"call_type\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_id\",\"total_tokens\",\"endTime\",\"response\",\"completionStartTime\",\"request_tags\",\"api_base\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"request_tags\",\"spend\",\"mcp_namespaced_tool_name\",\"team_id\",\"api_key\",\"prompt_tokens\",\"requester_ip_address\",\"model_group\",\"endTime\",\"created_at\",\"api_base\",\"end_user\",\"request_duration_ms\",\"startTime\",\"response\",\"custom_llm_provider\",\"model\",\"model_id\",\"cache_hit\",\"cache_key\",\"session_id\",\"call_type\",\"request_id\",\"updated_at\",\"messages\",\"agent_id\",\"completion_tokens\",\"completionStartTime\",\"metadata\",\"litellm_call_id\",\"total_tokens\",\"status\",\"organization_id\",\"proxy_server_request\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"total_tokens\",\"proxy_server_request\",\"api_key\",\"status\",\"endTime\",\"created_at\",\"custom_llm_provider\",\"model_group\",\"model_id\",\"agent_id\",\"requester_ip_address\",\"request_id\",\"cache_key\",\"call_type\",\"api_base\",\"request_tags\",\"startTime\",\"cache_hit\",\"litellm_call_id\",\"response\",\"updated_at\",\"prompt_tokens\",\"messages\",\"completion_tokens\",\"completionStartTime\",\"model\",\"team_id\",\"end_user\",\"session_id\",\"organization_id\",\"metadata\",\"spend\",\"request_duration_ms\",\"mcp_namespaced_tool_name\") VALUES ($n), ($n), ($n), ($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_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_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_cache_and_quota.py::test_in_flight_count_tokens_does_not_reserve_key_budget_away_from_a_completion": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"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\" (\"config\",\"tpd_limit\",\"updated_at\",\"deleted_by_api_key\",\"agent_id\",\"key_type\",\"litellm_changed_by\",\"project_id\",\"access_group_ids\",\"key_rotation_at\",\"deleted_at\",\"budget_id\",\"total_spend\",\"rotation_interval\",\"allowed_routes\",\"rotation_count\",\"soft_budget_cooldown\",\"budget_duration\",\"team_id\",\"budget_reset_at\",\"spend\",\"token\",\"max_budget\",\"auto_rotate\",\"expires\",\"key_name\",\"user_id\",\"last_rotation_at\",\"model_max_budget\",\"updated_by\",\"models\",\"aliases\",\"policies\",\"deleted_by\",\"permissions\",\"created_by\",\"router_settings\",\"created_at\",\"max_parallel_requests\",\"allowed_cache_controls\",\"blocked\",\"tpm_limit\",\"object_permission_id\",\"organization_id\",\"model_spend\",\"metadata\",\"last_active\",\"settings_updated_at\",\"key_alias\",\"budget_fallbacks\",\"id\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_cache_and_quota.py::test_key_budget_at_boundary_blocks_provider_then_explicit_reset_restores": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"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\" (\"blocked\",\"soft_budget_cooldown\",\"last_rotation_at\",\"expires\",\"last_active\",\"rotation_interval\",\"object_permission_id\",\"router_settings\",\"deleted_at\",\"budget_id\",\"config\",\"token\",\"budget_fallbacks\",\"budget_reset_at\",\"rotation_count\",\"deleted_by\",\"deleted_by_api_key\",\"auto_rotate\",\"spend\",\"key_type\",\"settings_updated_at\",\"max_budget\",\"litellm_changed_by\",\"allowed_cache_controls\",\"tpm_limit\",\"organization_id\",\"agent_id\",\"tpd_limit\",\"model_spend\",\"metadata\",\"budget_duration\",\"permissions\",\"id\",\"key_rotation_at\",\"aliases\",\"user_id\",\"model_max_budget\",\"key_alias\",\"created_by\",\"access_group_ids\",\"policies\",\"updated_by\",\"total_spend\",\"created_at\",\"updated_at\",\"max_parallel_requests\",\"key_name\",\"allowed_routes\",\"team_id\",\"project_id\",\"models\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"max_budget\",\"tpm_limit\",\"updated_at\",\"policies\",\"settings_updated_at\",\"soft_budget_cooldown\",\"key_name\",\"created_by\",\"models\",\"model_max_budget\",\"deleted_by_api_key\",\"updated_by\",\"team_id\",\"expires\",\"budget_id\",\"rpm_limit\",\"project_id\",\"permissions\",\"blocked\",\"key_rotation_at\",\"budget_reset_at\",\"rotation_interval\",\"budget_duration\",\"object_permission_id\",\"total_spend\",\"token\",\"access_group_ids\",\"deleted_by\",\"litellm_changed_by\",\"model_spend\",\"allowed_routes\",\"rotation_count\",\"id\",\"max_parallel_requests\",\"tpd_limit\",\"aliases\",\"user_id\",\"last_active\",\"auto_rotate\",\"created_at\",\"last_rotation_at\",\"spend\",\"key_alias\",\"config\",\"allowed_cache_controls\",\"router_settings\",\"organization_id\",\"deleted_at\",\"agent_id\",\"budget_fallbacks\",\"key_type\",\"metadata\") 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\" (\"updated_at\",\"agent_id\",\"request_tags\",\"request_id\",\"end_user\",\"prompt_tokens\",\"spend\",\"api_key\",\"team_id\",\"cache_hit\",\"response\",\"created_at\",\"completion_tokens\",\"cache_key\",\"model_group\",\"custom_llm_provider\",\"endTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"status\",\"user\",\"messages\",\"call_type\",\"model_id\",\"litellm_call_id\",\"api_base\",\"organization_id\",\"model\",\"completionStartTime\",\"requester_ip_address\",\"metadata\",\"startTime\",\"total_tokens\",\"session_id\",\"proxy_server_request\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"end_user\",\"litellm_call_id\",\"startTime\",\"spend\",\"completion_tokens\",\"team_id\",\"request_duration_ms\",\"api_key\",\"call_type\",\"cache_hit\",\"request_tags\",\"updated_at\",\"model_group\",\"agent_id\",\"cache_key\",\"messages\",\"metadata\",\"mcp_namespaced_tool_name\",\"response\",\"custom_llm_provider\",\"completionStartTime\",\"proxy_server_request\",\"session_id\",\"model_id\",\"endTime\",\"status\",\"model\",\"api_base\",\"request_id\",\"requester_ip_address\",\"created_at\",\"total_tokens\",\"prompt_tokens\",\"organization_id\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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_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\" = $n, \"metadata\" = $n, \"token\" = $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 \"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/spend/test_cache_and_quota.py::test_repeated_count_tokens_on_budgeted_key_does_not_reserve_budget_or_block_later_completion": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_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\" (\"created_by\",\"budget_id\",\"metadata\",\"team_id\",\"router_settings\",\"total_spend\",\"user_id\",\"aliases\",\"soft_budget_cooldown\",\"rotation_count\",\"updated_at\",\"budget_duration\",\"rotation_interval\",\"settings_updated_at\",\"id\",\"tpm_limit\",\"key_rotation_at\",\"agent_id\",\"expires\",\"deleted_at\",\"tpd_limit\",\"key_name\",\"blocked\",\"max_parallel_requests\",\"organization_id\",\"models\",\"permissions\",\"token\",\"budget_reset_at\",\"model_spend\",\"deleted_by\",\"access_group_ids\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"spend\",\"budget_fallbacks\",\"litellm_changed_by\",\"last_rotation_at\",\"updated_by\",\"key_alias\",\"config\",\"created_at\",\"allowed_routes\",\"object_permission_id\",\"key_type\",\"model_max_budget\",\"last_active\",\"rpm_limit\",\"policies\",\"max_budget\",\"auto_rotate\",\"project_id\") 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\" (\"model_id\",\"messages\",\"requester_ip_address\",\"request_id\",\"mcp_namespaced_tool_name\",\"startTime\",\"endTime\",\"proxy_server_request\",\"prompt_tokens\",\"completion_tokens\",\"model_group\",\"api_key\",\"model\",\"end_user\",\"cache_key\",\"api_base\",\"updated_at\",\"request_duration_ms\",\"total_tokens\",\"session_id\",\"litellm_call_id\",\"request_tags\",\"user\",\"status\",\"completionStartTime\",\"metadata\",\"created_at\",\"response\",\"custom_llm_provider\",\"team_id\",\"cache_hit\",\"organization_id\",\"spend\",\"call_type\",\"agent_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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_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/spend/test_cache_and_quota.py::test_repeated_hits_keep_response_identity_and_create_distinct_zero_cost_rows": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_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\" (\"budget_duration\",\"tpm_limit\",\"key_rotation_at\",\"budget_reset_at\",\"rotation_interval\",\"team_id\",\"deleted_by_api_key\",\"soft_budget_cooldown\",\"agent_id\",\"token\",\"spend\",\"organization_id\",\"user_id\",\"policies\",\"blocked\",\"litellm_changed_by\",\"last_active\",\"budget_id\",\"expires\",\"id\",\"updated_at\",\"key_alias\",\"auto_rotate\",\"rotation_count\",\"max_parallel_requests\",\"access_group_ids\",\"created_at\",\"models\",\"deleted_at\",\"object_permission_id\",\"updated_by\",\"key_type\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"router_settings\",\"project_id\",\"tpd_limit\",\"created_by\",\"config\",\"allowed_cache_controls\",\"rpm_limit\",\"aliases\",\"total_spend\",\"allowed_routes\",\"metadata\",\"max_budget\",\"settings_updated_at\",\"permissions\",\"last_rotation_at\",\"key_name\",\"deleted_by\") 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\" (\"response\",\"agent_id\",\"request_tags\",\"litellm_call_id\",\"requester_ip_address\",\"metadata\",\"endTime\",\"cache_key\",\"messages\",\"user\",\"completion_tokens\",\"model\",\"prompt_tokens\",\"startTime\",\"cache_hit\",\"proxy_server_request\",\"session_id\",\"api_key\",\"status\",\"call_type\",\"end_user\",\"completionStartTime\",\"created_at\",\"updated_at\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"request_id\",\"api_base\",\"organization_id\",\"model_group\",\"total_tokens\",\"team_id\",\"model_id\",\"custom_llm_provider\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"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_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/spend/test_daily_rollup_retry.py::test_failed_daily_user_rollup_commit_is_retried_so_spend_report_and_daily_activity_agree": {
|
|
"(SELECT date, $n::text AS api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, (GROUPING(date) << $n) | $n | GROUPING(model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, $n::bigint AS distinct_api_keys, SUM(spend)::float AS spend, $n::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyUserSpend\" WHERE date >= $n AND date <= $n AND api_key = $n GROUP BY GROUPING SETS ( (date), (date, model), (date, COALESCE(NULLIF(model_group, ''), model)), (date, custom_llm_provider), (date, mcp_namespaced_tool_name), (date, endpoint), () )) UNION ALL (WITH top_api_keys AS ( SELECT api_key, COUNT(*) OVER () AS distinct_api_keys FROM \"LiteLLM_DailyUserSpend\" WHERE date >= $n AND date <= $n AND api_key = $n AND api_key <> $n GROUP BY api_key ORDER BY SUM(spend) DESC, api_key LIMIT $n ) SELECT date, api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, GROUPING(date, api_key, model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, MAX(top_api_keys.distinct_api_keys) AS distinct_api_keys, SUM(spend)::float AS spend, $n::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyUserSpend\" JOIN top_api_keys USING (api_key) WHERE date >= $n AND date <= $n AND api_key = $n GROUP BY GROUPING SETS ( (date, api_key), (date, model, api_key), (date, COALESCE(NULLIF(model_group, ''), model), api_key), (date, custom_llm_provider, api_key), (date, mcp_namespaced_tool_name, api_key), (date, endpoint, api_key) ))": [
|
|
"litellm_reader"
|
|
],
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_InvitationLink\" WHERE (\"public\".\"LiteLLM_InvitationLink\".\"user_id\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"created_by\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"updated_by\" IN ($n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) /* 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_DailyOrganizationSpend\" (\"id\", \"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyOrganizationSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyOrganizationSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"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 \"LiteLLM_TeamMembership\" (user_id, team_id, spend, total_spend) SELECT p.user_id, p.team_id, p.cost, p.cost FROM unnest($n::text[], $n::text[], $n::float8[]) AS p(user_id, team_id, cost) WHERE EXISTS ( SELECT $n FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = p.team_id AND t.members_with_roles @> jsonb_build_array(jsonb_build_object($n, p.user_id)) ) OR EXISTS (SELECT $n FROM \"LiteLLM_TeamMembership\" m WHERE m.user_id = p.user_id AND m.team_id = p.team_id) ON CONFLICT (user_id, team_id) DO UPDATE SET spend = \"LiteLLM_TeamMembership\".spend + EXCLUDED.spend, total_spend = \"LiteLLM_TeamMembership\".total_spend + EXCLUDED.total_spend": [
|
|
"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\" (\"budget_fallbacks\",\"created_by\",\"settings_updated_at\",\"object_permission_id\",\"key_rotation_at\",\"key_type\",\"model_max_budget\",\"spend\",\"organization_id\",\"policies\",\"config\",\"project_id\",\"last_active\",\"rotation_count\",\"router_settings\",\"budget_id\",\"agent_id\",\"allowed_cache_controls\",\"deleted_at\",\"allowed_routes\",\"updated_by\",\"budget_reset_at\",\"rotation_interval\",\"soft_budget_cooldown\",\"budget_duration\",\"rpm_limit\",\"model_spend\",\"key_alias\",\"id\",\"tpd_limit\",\"max_parallel_requests\",\"permissions\",\"last_rotation_at\",\"aliases\",\"blocked\",\"deleted_by_api_key\",\"updated_at\",\"total_spend\",\"created_at\",\"deleted_by\",\"tpm_limit\",\"litellm_changed_by\",\"metadata\",\"access_group_ids\",\"auto_rotate\",\"token\",\"expires\",\"key_name\",\"models\",\"max_budget\",\"user_id\",\"team_id\") 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\" (\"request_tags\",\"model_group\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"spend\",\"metadata\",\"user\",\"custom_llm_provider\",\"prompt_tokens\",\"proxy_server_request\",\"cache_hit\",\"team_id\",\"updated_at\",\"litellm_call_id\",\"session_id\",\"model_id\",\"completionStartTime\",\"agent_id\",\"api_base\",\"cache_key\",\"completion_tokens\",\"request_duration_ms\",\"request_id\",\"model\",\"end_user\",\"created_at\",\"status\",\"startTime\",\"endTime\",\"response\",\"messages\",\"total_tokens\",\"organization_id\",\"api_key\",\"call_type\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"user_alias\",\"team_id\",\"sso_user_id\",\"organization_id\",\"object_permission_id\",\"teams\",\"user_role\",\"max_budget\",\"spend\",\"user_email\",\"models\",\"metadata\",\"max_parallel_requests\",\"tpm_limit\",\"rpm_limit\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\" /* 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_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_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($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\".\"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\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"created_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"updated_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ( SELECT to_jsonb(u) || jsonb_build_object( $n, COALESCE(to_jsonb(u.teams), $n::jsonb), $n, COALESCE(to_jsonb(u.models), $n::jsonb), $n, COALESCE(to_jsonb(u.allowed_cache_controls), $n::jsonb), $n, COALESCE(to_jsonb(u.policies), $n::jsonb), $n, COALESCE(( SELECT jsonb_agg(to_jsonb(om)) FROM \"LiteLLM_OrganizationMembership\" om WHERE om.user_id = u.user_id ), $n::jsonb) ) FROM \"LiteLLM_UserTable\" u WHERE u.user_id = $n ) AS user_row, ( SELECT to_jsonb(t) || jsonb_build_object( $n, COALESCE(to_jsonb(t.admins), $n::jsonb), $n, COALESCE(to_jsonb(t.members), $n::jsonb), $n, COALESCE(to_jsonb(t.models), $n::jsonb), $n, COALESCE(to_jsonb(t.team_member_permissions), $n::jsonb), $n, COALESCE(to_jsonb(t.access_group_ids), $n::jsonb), $n, COALESCE(to_jsonb(t.policies), $n::jsonb), $n, COALESCE(to_jsonb(t.default_team_member_models), $n::jsonb), $n, ( SELECT (to_jsonb(m) - $n) || jsonb_build_object($n, m.aliases) FROM \"LiteLLM_ModelTable\" m WHERE m.id = t.model_id ), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = t.object_permission_id) ) FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = $n ) AS team_row, ( SELECT to_jsonb(tm) || jsonb_build_object($n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = tm.budget_id)) FROM \"LiteLLM_TeamMembership\" tm WHERE tm.user_id = $n AND tm.team_id = $n ) AS membership_row, ( SELECT to_jsonb(o) || jsonb_build_object( $n, COALESCE(to_jsonb(o.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = o.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = o.object_permission_id) ) FROM \"LiteLLM_OrganizationTable\" o WHERE o.organization_id = $n ) AS organization_row, ( SELECT to_jsonb(p) || jsonb_build_object( $n, COALESCE(to_jsonb(p.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = p.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = p.object_permission_id) ) FROM \"LiteLLM_ProjectTable\" p WHERE p.project_id = $n ) AS project_row": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"metadata\"#>ARRAY[$n]::text[])::jsonb::jsonb = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT nextval($n)": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"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_OrganizationMembership\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationMembership\".\"spend\" + $n), \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" = $n AND \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_OrganizationTable\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_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 SpendByModelApiKey AS ( SELECT sl.api_key, sl.model, SUM(sl.spend) AS model_cost, SUM(sl.prompt_tokens) AS model_input_tokens, SUM(sl.completion_tokens) AS model_output_tokens FROM \"LiteLLM_SpendLogs\" sl WHERE sl.\"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND sl.\"startTime\" < (($n::timestamptz + INTERVAL $n) AT TIME ZONE $n) AND sl.api_key = $n GROUP BY sl.api_key, sl.model ) SELECT api_key, SUM(model_cost) AS total_cost, SUM(model_input_tokens) AS total_input_tokens, SUM(model_output_tokens) AS total_output_tokens, jsonb_agg(jsonb_build_object( $n, model, $n, model_cost, $n, model_input_tokens, $n, model_output_tokens )) AS model_details FROM SpendByModelApiKey GROUP BY api_key ORDER BY total_cost DESC": [
|
|
"litellm_reader"
|
|
],
|
|
"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/spend/test_disconnected_bedrock_messages_stream_billing.py::test_client_disconnect_mid_bedrock_messages_stream_still_bills_terminal_usage": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_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\" (\"object_permission_id\",\"allowed_routes\",\"model_max_budget\",\"models\",\"metadata\",\"deleted_by_api_key\",\"litellm_changed_by\",\"key_name\",\"blocked\",\"policies\",\"aliases\",\"user_id\",\"agent_id\",\"max_parallel_requests\",\"created_by\",\"rotation_count\",\"last_rotation_at\",\"total_spend\",\"spend\",\"tpd_limit\",\"rotation_interval\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"tpm_limit\",\"budget_fallbacks\",\"permissions\",\"access_group_ids\",\"rpm_limit\",\"project_id\",\"budget_duration\",\"deleted_by\",\"auto_rotate\",\"team_id\",\"organization_id\",\"created_at\",\"settings_updated_at\",\"token\",\"updated_by\",\"router_settings\",\"id\",\"key_rotation_at\",\"key_type\",\"key_alias\",\"last_active\",\"config\",\"budget_id\",\"updated_at\",\"expires\",\"budget_reset_at\",\"model_spend\",\"deleted_at\",\"max_budget\") 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\" (\"startTime\",\"proxy_server_request\",\"user\",\"created_at\",\"requester_ip_address\",\"metadata\",\"endTime\",\"api_key\",\"request_tags\",\"organization_id\",\"status\",\"total_tokens\",\"model\",\"cache_hit\",\"updated_at\",\"request_duration_ms\",\"prompt_tokens\",\"end_user\",\"spend\",\"messages\",\"response\",\"api_base\",\"model_id\",\"cache_key\",\"custom_llm_provider\",\"request_id\",\"mcp_namespaced_tool_name\",\"model_group\",\"call_type\",\"litellm_call_id\",\"session_id\",\"completion_tokens\",\"team_id\",\"agent_id\",\"completionStartTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_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/spend/test_failed_dispatch_tokens.py::test_provider_500_after_dispatch_records_estimated_prompt_tokens_on_failure_row": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_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\" (\"last_rotation_at\",\"project_id\",\"allowed_cache_controls\",\"rpm_limit\",\"soft_budget_cooldown\",\"rotation_count\",\"agent_id\",\"total_spend\",\"key_name\",\"token\",\"id\",\"deleted_by_api_key\",\"user_id\",\"created_at\",\"auto_rotate\",\"deleted_at\",\"created_by\",\"key_rotation_at\",\"policies\",\"metadata\",\"tpm_limit\",\"config\",\"blocked\",\"max_parallel_requests\",\"updated_at\",\"deleted_by\",\"rotation_interval\",\"models\",\"key_type\",\"budget_id\",\"budget_duration\",\"spend\",\"budget_fallbacks\",\"key_alias\",\"settings_updated_at\",\"allowed_routes\",\"updated_by\",\"organization_id\",\"aliases\",\"litellm_changed_by\",\"last_active\",\"access_group_ids\",\"budget_reset_at\",\"max_budget\",\"team_id\",\"permissions\",\"router_settings\",\"model_max_budget\",\"tpd_limit\",\"expires\",\"object_permission_id\",\"model_spend\") 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\" (\"completion_tokens\",\"metadata\",\"request_duration_ms\",\"organization_id\",\"created_at\",\"model\",\"status\",\"proxy_server_request\",\"team_id\",\"mcp_namespaced_tool_name\",\"messages\",\"session_id\",\"call_type\",\"api_base\",\"completionStartTime\",\"litellm_call_id\",\"api_key\",\"agent_id\",\"end_user\",\"request_tags\",\"total_tokens\",\"model_group\",\"startTime\",\"user\",\"spend\",\"updated_at\",\"response\",\"cache_key\",\"custom_llm_provider\",\"endTime\",\"model_id\",\"request_id\",\"prompt_tokens\",\"requester_ip_address\",\"cache_hit\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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_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/spend/test_filtered_ledger.py::test_rotated_keys_users_and_model_groups_preserve_success_failure_cache_ledger": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_InvitationLink\" WHERE (\"public\".\"LiteLLM_InvitationLink\".\"user_id\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"created_by\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"updated_by\" IN ($n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) /* 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)) 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_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\" (\"last_active\",\"updated_by\",\"organization_id\",\"settings_updated_at\",\"model_max_budget\",\"budget_fallbacks\",\"deleted_by\",\"key_rotation_at\",\"allowed_routes\",\"tpd_limit\",\"litellm_changed_by\",\"access_group_ids\",\"spend\",\"max_budget\",\"team_id\",\"metadata\",\"agent_id\",\"id\",\"budget_duration\",\"policies\",\"updated_at\",\"user_id\",\"router_settings\",\"blocked\",\"created_at\",\"permissions\",\"aliases\",\"deleted_at\",\"rotation_interval\",\"allowed_cache_controls\",\"total_spend\",\"rpm_limit\",\"key_type\",\"project_id\",\"max_parallel_requests\",\"soft_budget_cooldown\",\"created_by\",\"expires\",\"key_alias\",\"model_spend\",\"config\",\"budget_id\",\"budget_reset_at\",\"rotation_count\",\"last_rotation_at\",\"auto_rotate\",\"token\",\"object_permission_id\",\"tpm_limit\",\"deleted_by_api_key\",\"key_name\",\"models\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"policies\",\"expires\",\"allowed_cache_controls\",\"total_spend\",\"model_spend\",\"aliases\",\"key_type\",\"budget_id\",\"spend\",\"deleted_by_api_key\",\"max_parallel_requests\",\"created_by\",\"metadata\",\"last_rotation_at\",\"tpd_limit\",\"permissions\",\"access_group_ids\",\"budget_duration\",\"max_budget\",\"settings_updated_at\",\"model_max_budget\",\"key_alias\",\"created_at\",\"rotation_interval\",\"litellm_changed_by\",\"object_permission_id\",\"models\",\"rpm_limit\",\"team_id\",\"blocked\",\"updated_by\",\"project_id\",\"key_name\",\"token\",\"router_settings\",\"user_id\",\"soft_budget_cooldown\",\"tpm_limit\",\"allowed_routes\",\"agent_id\",\"auto_rotate\",\"deleted_at\",\"budget_reset_at\",\"key_rotation_at\",\"id\",\"budget_fallbacks\",\"last_active\",\"config\",\"rotation_count\",\"updated_at\",\"organization_id\",\"deleted_by\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"updated_by\",\"access_group_ids\",\"policies\",\"created_by\",\"spend\",\"aliases\",\"token\",\"allowed_cache_controls\",\"blocked\",\"model_max_budget\",\"organization_id\",\"project_id\",\"rpm_limit\",\"rotation_count\",\"deleted_by_api_key\",\"metadata\",\"config\",\"updated_at\",\"id\",\"budget_fallbacks\",\"deleted_at\",\"tpd_limit\",\"router_settings\",\"model_spend\",\"litellm_changed_by\",\"settings_updated_at\",\"budget_duration\",\"key_type\",\"deleted_by\",\"user_id\",\"object_permission_id\",\"auto_rotate\",\"agent_id\",\"last_active\",\"max_parallel_requests\",\"key_alias\",\"models\",\"last_rotation_at\",\"allowed_routes\",\"permissions\",\"soft_budget_cooldown\",\"team_id\",\"key_name\",\"created_at\",\"budget_reset_at\",\"rotation_interval\",\"key_rotation_at\",\"budget_id\",\"expires\",\"max_budget\",\"total_spend\",\"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\" (\"team_id\",\"completion_tokens\",\"endTime\",\"api_base\",\"completionStartTime\",\"spend\",\"mcp_namespaced_tool_name\",\"cache_key\",\"call_type\",\"request_id\",\"user\",\"proxy_server_request\",\"updated_at\",\"api_key\",\"created_at\",\"custom_llm_provider\",\"agent_id\",\"session_id\",\"total_tokens\",\"cache_hit\",\"status\",\"organization_id\",\"request_tags\",\"model\",\"prompt_tokens\",\"response\",\"litellm_call_id\",\"startTime\",\"model_id\",\"model_group\",\"metadata\",\"requester_ip_address\",\"request_duration_ms\",\"end_user\",\"messages\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"user_alias\",\"team_id\",\"sso_user_id\",\"organization_id\",\"object_permission_id\",\"teams\",\"user_role\",\"max_budget\",\"spend\",\"user_email\",\"models\",\"metadata\",\"max_parallel_requests\",\"tpm_limit\",\"rpm_limit\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_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_SpendLogs\".\"request_id\", \"public\".\"LiteLLM_SpendLogs\".\"call_type\", \"public\".\"LiteLLM_SpendLogs\".\"api_key\", \"public\".\"LiteLLM_SpendLogs\".\"spend\", \"public\".\"LiteLLM_SpendLogs\".\"total_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"prompt_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"completion_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"startTime\", \"public\".\"LiteLLM_SpendLogs\".\"endTime\", \"public\".\"LiteLLM_SpendLogs\".\"request_duration_ms\", \"public\".\"LiteLLM_SpendLogs\".\"completionStartTime\", \"public\".\"LiteLLM_SpendLogs\".\"model\", \"public\".\"LiteLLM_SpendLogs\".\"model_id\", \"public\".\"LiteLLM_SpendLogs\".\"model_group\", \"public\".\"LiteLLM_SpendLogs\".\"custom_llm_provider\", \"public\".\"LiteLLM_SpendLogs\".\"api_base\", \"public\".\"LiteLLM_SpendLogs\".\"user\", \"public\".\"LiteLLM_SpendLogs\".\"metadata\", \"public\".\"LiteLLM_SpendLogs\".\"cache_hit\", \"public\".\"LiteLLM_SpendLogs\".\"cache_key\", \"public\".\"LiteLLM_SpendLogs\".\"request_tags\", \"public\".\"LiteLLM_SpendLogs\".\"team_id\", \"public\".\"LiteLLM_SpendLogs\".\"organization_id\", \"public\".\"LiteLLM_SpendLogs\".\"end_user\", \"public\".\"LiteLLM_SpendLogs\".\"requester_ip_address\", \"public\".\"LiteLLM_SpendLogs\".\"messages\", \"public\".\"LiteLLM_SpendLogs\".\"response\", \"public\".\"LiteLLM_SpendLogs\".\"session_id\", \"public\".\"LiteLLM_SpendLogs\".\"status\", \"public\".\"LiteLLM_SpendLogs\".\"mcp_namespaced_tool_name\", \"public\".\"LiteLLM_SpendLogs\".\"agent_id\", \"public\".\"LiteLLM_SpendLogs\".\"proxy_server_request\", \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\", \"public\".\"LiteLLM_SpendLogs\".\"created_at\", \"public\".\"LiteLLM_SpendLogs\".\"updated_at\" FROM \"public\".\"LiteLLM_SpendLogs\" WHERE \"public\".\"LiteLLM_SpendLogs\".\"api_key\" = $n ORDER BY \"public\".\"LiteLLM_SpendLogs\".\"startTime\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"created_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"updated_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ( SELECT to_jsonb(u) || jsonb_build_object( $n, COALESCE(to_jsonb(u.teams), $n::jsonb), $n, COALESCE(to_jsonb(u.models), $n::jsonb), $n, COALESCE(to_jsonb(u.allowed_cache_controls), $n::jsonb), $n, COALESCE(to_jsonb(u.policies), $n::jsonb), $n, COALESCE(( SELECT jsonb_agg(to_jsonb(om)) FROM \"LiteLLM_OrganizationMembership\" om WHERE om.user_id = u.user_id ), $n::jsonb) ) FROM \"LiteLLM_UserTable\" u WHERE u.user_id = $n ) AS user_row, ( SELECT to_jsonb(t) || jsonb_build_object( $n, COALESCE(to_jsonb(t.admins), $n::jsonb), $n, COALESCE(to_jsonb(t.members), $n::jsonb), $n, COALESCE(to_jsonb(t.models), $n::jsonb), $n, COALESCE(to_jsonb(t.team_member_permissions), $n::jsonb), $n, COALESCE(to_jsonb(t.access_group_ids), $n::jsonb), $n, COALESCE(to_jsonb(t.policies), $n::jsonb), $n, COALESCE(to_jsonb(t.default_team_member_models), $n::jsonb), $n, ( SELECT (to_jsonb(m) - $n) || jsonb_build_object($n, m.aliases) FROM \"LiteLLM_ModelTable\" m WHERE m.id = t.model_id ), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = t.object_permission_id) ) FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = $n ) AS team_row, ( SELECT to_jsonb(tm) || jsonb_build_object($n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = tm.budget_id)) FROM \"LiteLLM_TeamMembership\" tm WHERE tm.user_id = $n AND tm.team_id = $n ) AS membership_row, ( SELECT to_jsonb(o) || jsonb_build_object( $n, COALESCE(to_jsonb(o.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = o.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = o.object_permission_id) ) FROM \"LiteLLM_OrganizationTable\" o WHERE o.organization_id = $n ) AS organization_row, ( SELECT to_jsonb(p) || jsonb_build_object( $n, COALESCE(to_jsonb(p.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = p.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = p.object_permission_id) ) FROM \"LiteLLM_ProjectTable\" p WHERE p.project_id = $n ) AS project_row": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND \"user\" = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND api_key = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) AS total_count FROM ( SELECT $n FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND model_group = $n LIMIT $n ) AS bounded_matches": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"metadata\"#>ARRAY[$n]::text[])::jsonb::jsonb = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND \"user\" = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND api_key = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT request_id, call_type, api_key, spend, total_tokens, prompt_tokens, completion_tokens, \"startTime\", \"endTime\", \"completionStartTime\", model, model_id, model_group, custom_llm_provider, api_base, \"user\", metadata, cache_hit, cache_key, request_tags, team_id, organization_id, end_user, requester_ip_address, session_id, status, mcp_namespaced_tool_name, agent_id, litellm_call_id, COALESCE(request_duration_ms, (EXTRACT($n FROM (\"endTime\" - \"startTime\")) * $n)::INTEGER) AS request_duration_ms FROM \"LiteLLM_SpendLogs\" WHERE \"startTime\" >= ($n::timestamptz AT TIME ZONE $n) AND \"startTime\" <= ($n::timestamptz AT TIME ZONE $n) AND model_group = $n ORDER BY \"startTime\" DESC LIMIT $n OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"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 \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_model_router_selected_model.py::test_model_router_alias_without_router_in_name_keeps_selected_model_in_response_and_spend_log": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"startTime\",\"completion_tokens\",\"request_id\",\"end_user\",\"completionStartTime\",\"model_id\",\"endTime\",\"team_id\",\"api_base\",\"proxy_server_request\",\"requester_ip_address\",\"request_tags\",\"call_type\",\"messages\",\"updated_at\",\"api_key\",\"request_duration_ms\",\"session_id\",\"response\",\"model\",\"agent_id\",\"organization_id\",\"custom_llm_provider\",\"metadata\",\"status\",\"cache_key\",\"litellm_call_id\",\"cache_hit\",\"spend\",\"user\",\"model_group\",\"created_at\",\"mcp_namespaced_tool_name\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_SpendLogs\".\"request_id\", \"public\".\"LiteLLM_SpendLogs\".\"call_type\", \"public\".\"LiteLLM_SpendLogs\".\"api_key\", \"public\".\"LiteLLM_SpendLogs\".\"spend\", \"public\".\"LiteLLM_SpendLogs\".\"total_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"prompt_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"completion_tokens\", \"public\".\"LiteLLM_SpendLogs\".\"startTime\", \"public\".\"LiteLLM_SpendLogs\".\"endTime\", \"public\".\"LiteLLM_SpendLogs\".\"request_duration_ms\", \"public\".\"LiteLLM_SpendLogs\".\"completionStartTime\", \"public\".\"LiteLLM_SpendLogs\".\"model\", \"public\".\"LiteLLM_SpendLogs\".\"model_id\", \"public\".\"LiteLLM_SpendLogs\".\"model_group\", \"public\".\"LiteLLM_SpendLogs\".\"custom_llm_provider\", \"public\".\"LiteLLM_SpendLogs\".\"api_base\", \"public\".\"LiteLLM_SpendLogs\".\"user\", \"public\".\"LiteLLM_SpendLogs\".\"metadata\", \"public\".\"LiteLLM_SpendLogs\".\"cache_hit\", \"public\".\"LiteLLM_SpendLogs\".\"cache_key\", \"public\".\"LiteLLM_SpendLogs\".\"request_tags\", \"public\".\"LiteLLM_SpendLogs\".\"team_id\", \"public\".\"LiteLLM_SpendLogs\".\"organization_id\", \"public\".\"LiteLLM_SpendLogs\".\"end_user\", \"public\".\"LiteLLM_SpendLogs\".\"requester_ip_address\", \"public\".\"LiteLLM_SpendLogs\".\"messages\", \"public\".\"LiteLLM_SpendLogs\".\"response\", \"public\".\"LiteLLM_SpendLogs\".\"session_id\", \"public\".\"LiteLLM_SpendLogs\".\"status\", \"public\".\"LiteLLM_SpendLogs\".\"mcp_namespaced_tool_name\", \"public\".\"LiteLLM_SpendLogs\".\"agent_id\", \"public\".\"LiteLLM_SpendLogs\".\"proxy_server_request\", \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\", \"public\".\"LiteLLM_SpendLogs\".\"created_at\", \"public\".\"LiteLLM_SpendLogs\".\"updated_at\" FROM \"public\".\"LiteLLM_SpendLogs\" WHERE (\"public\".\"LiteLLM_SpendLogs\".\"request_id\" = $n OR \"public\".\"LiteLLM_SpendLogs\".\"litellm_call_id\" = $n) ORDER BY \"public\".\"LiteLLM_SpendLogs\".\"startTime\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_org_budget_cli_session_token.py::test_cli_session_token_without_org_id_charges_and_caps_the_team_organization": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_InvitationLink\" WHERE (\"public\".\"LiteLLM_InvitationLink\".\"user_id\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"created_by\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"updated_by\" IN ($n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE (\"public\".\"LiteLLM_OrganizationTable\".\"organization_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_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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_DailyOrganizationSpend\" (\"id\", \"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"organization_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyOrganizationSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyOrganizationSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyOrganizationSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyOrganizationSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_TeamMembership\" (user_id, team_id, spend, total_spend) SELECT p.user_id, p.team_id, p.cost, p.cost FROM unnest($n::text[], $n::text[], $n::float8[]) AS p(user_id, team_id, cost) WHERE EXISTS ( SELECT $n FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = p.team_id AND t.members_with_roles @> jsonb_build_array(jsonb_build_object($n, p.user_id)) ) OR EXISTS (SELECT $n FROM \"LiteLLM_TeamMembership\" m WHERE m.user_id = p.user_id AND m.team_id = p.team_id) ON CONFLICT (user_id, team_id) DO UPDATE SET spend = \"LiteLLM_TeamMembership\".spend + EXCLUDED.spend, total_spend = \"LiteLLM_TeamMembership\".total_spend + EXCLUDED.total_spend": [
|
|
"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_BudgetTable\" (\"budget_id\",\"max_budget\",\"allowed_models\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_BudgetTable\".\"budget_id\", \"public\".\"LiteLLM_BudgetTable\".\"max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"soft_budget\", \"public\".\"LiteLLM_BudgetTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_BudgetTable\".\"tpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"rpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"tpd_limit\", \"public\".\"LiteLLM_BudgetTable\".\"model_max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"budget_duration\", \"public\".\"LiteLLM_BudgetTable\".\"budget_reset_at\", \"public\".\"LiteLLM_BudgetTable\".\"allowed_models\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_increase\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_expiry\", \"public\".\"LiteLLM_BudgetTable\".\"created_at\", \"public\".\"LiteLLM_BudgetTable\".\"created_by\", \"public\".\"LiteLLM_BudgetTable\".\"updated_at\", \"public\".\"LiteLLM_BudgetTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"litellm_changed_by\",\"budget_duration\",\"policies\",\"object_permission_id\",\"access_group_ids\",\"models\",\"team_id\",\"blocked\",\"deleted_at\",\"deleted_by_api_key\",\"router_settings\",\"tpm_limit\",\"metadata\",\"team_alias\",\"members_with_roles\",\"rpm_limit\",\"max_budget\",\"team_member_permissions\",\"members\",\"model_id\",\"tpd_limit\",\"max_parallel_requests\",\"budget_reset_at\",\"id\",\"organization_id\",\"model_max_budget\",\"updated_at\",\"model_spend\",\"deleted_by\",\"soft_budget\",\"spend\",\"admins\",\"created_at\",\"allow_team_guardrail_config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_OrganizationTable\" (\"organization_id\",\"organization_alias\",\"budget_id\",\"metadata\",\"models\",\"spend\",\"model_spend\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" /* 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\" (\"user\",\"team_id\",\"completionStartTime\",\"prompt_tokens\",\"end_user\",\"custom_llm_provider\",\"requester_ip_address\",\"created_at\",\"request_tags\",\"status\",\"request_duration_ms\",\"cache_hit\",\"total_tokens\",\"cache_key\",\"organization_id\",\"session_id\",\"startTime\",\"response\",\"proxy_server_request\",\"api_key\",\"completion_tokens\",\"spend\",\"api_base\",\"request_id\",\"messages\",\"model_group\",\"call_type\",\"metadata\",\"litellm_call_id\",\"model_id\",\"endTime\",\"agent_id\",\"model\",\"updated_at\",\"mcp_namespaced_tool_name\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"organization_id\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"user_alias\",\"team_id\",\"sso_user_id\",\"organization_id\",\"object_permission_id\",\"teams\",\"user_role\",\"max_budget\",\"spend\",\"user_email\",\"models\",\"metadata\",\"max_parallel_requests\",\"tpm_limit\",\"rpm_limit\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_BudgetTable\".\"budget_id\", \"public\".\"LiteLLM_BudgetTable\".\"max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"soft_budget\", \"public\".\"LiteLLM_BudgetTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_BudgetTable\".\"tpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"rpm_limit\", \"public\".\"LiteLLM_BudgetTable\".\"tpd_limit\", \"public\".\"LiteLLM_BudgetTable\".\"model_max_budget\", \"public\".\"LiteLLM_BudgetTable\".\"budget_duration\", \"public\".\"LiteLLM_BudgetTable\".\"budget_reset_at\", \"public\".\"LiteLLM_BudgetTable\".\"allowed_models\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_increase\", \"public\".\"LiteLLM_BudgetTable\".\"temp_budget_expiry\", \"public\".\"LiteLLM_BudgetTable\".\"created_at\", \"public\".\"LiteLLM_BudgetTable\".\"created_by\", \"public\".\"LiteLLM_BudgetTable\".\"updated_at\", \"public\".\"LiteLLM_BudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_BudgetTable\" WHERE \"public\".\"LiteLLM_BudgetTable\".\"budget_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\", \"public\".\"LiteLLM_OrganizationTable\".\"organization_alias\", \"public\".\"LiteLLM_OrganizationTable\".\"budget_id\", \"public\".\"LiteLLM_OrganizationTable\".\"metadata\", \"public\".\"LiteLLM_OrganizationTable\".\"models\", \"public\".\"LiteLLM_OrganizationTable\".\"spend\", \"public\".\"LiteLLM_OrganizationTable\".\"model_spend\", \"public\".\"LiteLLM_OrganizationTable\".\"object_permission_id\", \"public\".\"LiteLLM_OrganizationTable\".\"created_at\", \"public\".\"LiteLLM_OrganizationTable\".\"created_by\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_at\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_by\" FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\", \"public\".\"LiteLLM_OrganizationTable\".\"organization_alias\", \"public\".\"LiteLLM_OrganizationTable\".\"budget_id\", \"public\".\"LiteLLM_OrganizationTable\".\"metadata\", \"public\".\"LiteLLM_OrganizationTable\".\"models\", \"public\".\"LiteLLM_OrganizationTable\".\"spend\", \"public\".\"LiteLLM_OrganizationTable\".\"model_spend\", \"public\".\"LiteLLM_OrganizationTable\".\"object_permission_id\", \"public\".\"LiteLLM_OrganizationTable\".\"created_at\", \"public\".\"LiteLLM_OrganizationTable\".\"created_by\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_at\", \"public\".\"LiteLLM_OrganizationTable\".\"updated_by\" FROM \"public\".\"LiteLLM_OrganizationTable\" WHERE (\"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"organization_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"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\".\"organization_id\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_BudgetTable\" x WHERE \"budget_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"created_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"updated_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"organization_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationTable\" x WHERE \"organization_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ( SELECT to_jsonb(u) || jsonb_build_object( $n, COALESCE(to_jsonb(u.teams), $n::jsonb), $n, COALESCE(to_jsonb(u.models), $n::jsonb), $n, COALESCE(to_jsonb(u.allowed_cache_controls), $n::jsonb), $n, COALESCE(to_jsonb(u.policies), $n::jsonb), $n, COALESCE(( SELECT jsonb_agg(to_jsonb(om)) FROM \"LiteLLM_OrganizationMembership\" om WHERE om.user_id = u.user_id ), $n::jsonb) ) FROM \"LiteLLM_UserTable\" u WHERE u.user_id = $n ) AS user_row, ( SELECT to_jsonb(t) || jsonb_build_object( $n, COALESCE(to_jsonb(t.admins), $n::jsonb), $n, COALESCE(to_jsonb(t.members), $n::jsonb), $n, COALESCE(to_jsonb(t.models), $n::jsonb), $n, COALESCE(to_jsonb(t.team_member_permissions), $n::jsonb), $n, COALESCE(to_jsonb(t.access_group_ids), $n::jsonb), $n, COALESCE(to_jsonb(t.policies), $n::jsonb), $n, COALESCE(to_jsonb(t.default_team_member_models), $n::jsonb), $n, ( SELECT (to_jsonb(m) - $n) || jsonb_build_object($n, m.aliases) FROM \"LiteLLM_ModelTable\" m WHERE m.id = t.model_id ), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = t.object_permission_id) ) FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = $n ) AS team_row, ( SELECT to_jsonb(tm) || jsonb_build_object($n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = tm.budget_id)) FROM \"LiteLLM_TeamMembership\" tm WHERE tm.user_id = $n AND tm.team_id = $n ) AS membership_row, ( SELECT to_jsonb(o) || jsonb_build_object( $n, COALESCE(to_jsonb(o.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = o.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = o.object_permission_id) ) FROM \"LiteLLM_OrganizationTable\" o WHERE o.organization_id = $n ) AS organization_row, ( SELECT to_jsonb(p) || jsonb_build_object( $n, COALESCE(to_jsonb(p.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = p.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = p.object_permission_id) ) FROM \"LiteLLM_ProjectTable\" p WHERE p.project_id = $n ) AS project_row": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"metadata\"#>ARRAY[$n]::text[])::jsonb::jsonb = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_OrganizationMembership\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationMembership\".\"spend\" + $n), \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\" = $n AND \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_OrganizationTable\" SET \"spend\" = (\"public\".\"LiteLLM_OrganizationTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_OrganizationTable\".\"organization_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_TeamTable\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_UserTable\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_VerificationToken\" SET \"organization_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"organization_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_passthrough_budget_reservation.py::test_repeated_gemini_passthrough_calls_stay_served_while_key_spend_is_below_max_budget": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"team_id\",\"deleted_at\",\"key_alias\",\"tpm_limit\",\"model_spend\",\"key_name\",\"key_rotation_at\",\"agent_id\",\"blocked\",\"rpm_limit\",\"last_rotation_at\",\"updated_at\",\"object_permission_id\",\"last_active\",\"auto_rotate\",\"total_spend\",\"soft_budget_cooldown\",\"max_parallel_requests\",\"spend\",\"policies\",\"deleted_by\",\"rotation_interval\",\"allowed_cache_controls\",\"project_id\",\"allowed_routes\",\"model_max_budget\",\"aliases\",\"token\",\"budget_duration\",\"created_by\",\"key_type\",\"budget_reset_at\",\"settings_updated_at\",\"budget_id\",\"litellm_changed_by\",\"models\",\"metadata\",\"created_at\",\"expires\",\"id\",\"tpd_limit\",\"updated_by\",\"router_settings\",\"organization_id\",\"deleted_by_api_key\",\"user_id\",\"permissions\",\"access_group_ids\",\"max_budget\",\"rotation_count\",\"budget_fallbacks\",\"config\") 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\",\"messages\",\"model\",\"requester_ip_address\",\"session_id\",\"cache_key\",\"organization_id\",\"completion_tokens\",\"team_id\",\"custom_llm_provider\",\"api_key\",\"startTime\",\"end_user\",\"total_tokens\",\"updated_at\",\"endTime\",\"response\",\"proxy_server_request\",\"user\",\"metadata\",\"request_id\",\"request_duration_ms\",\"model_group\",\"api_base\",\"mcp_namespaced_tool_name\",\"spend\",\"request_tags\",\"model_id\",\"cache_hit\",\"prompt_tokens\",\"created_at\",\"completionStartTime\",\"agent_id\",\"call_type\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"endTime\",\"custom_llm_provider\",\"metadata\",\"session_id\",\"request_duration_ms\",\"spend\",\"user\",\"mcp_namespaced_tool_name\",\"call_type\",\"model_group\",\"litellm_call_id\",\"cache_hit\",\"total_tokens\",\"prompt_tokens\",\"messages\",\"completionStartTime\",\"updated_at\",\"model\",\"created_at\",\"team_id\",\"organization_id\",\"request_tags\",\"completion_tokens\",\"end_user\",\"response\",\"model_id\",\"cache_key\",\"agent_id\",\"startTime\",\"status\",\"proxy_server_request\",\"api_base\",\"request_id\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"user\",\"team_id\",\"agent_id\",\"session_id\",\"request_id\",\"cache_hit\",\"end_user\",\"call_type\",\"created_at\",\"request_tags\",\"completionStartTime\",\"response\",\"prompt_tokens\",\"litellm_call_id\",\"model_group\",\"custom_llm_provider\",\"model\",\"completion_tokens\",\"proxy_server_request\",\"endTime\",\"organization_id\",\"messages\",\"mcp_namespaced_tool_name\",\"api_base\",\"api_key\",\"metadata\",\"updated_at\",\"model_id\",\"status\",\"request_duration_ms\",\"startTime\",\"cache_key\",\"requester_ip_address\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"metadata\",\"team_id\",\"mcp_namespaced_tool_name\",\"endTime\",\"messages\",\"api_key\",\"session_id\",\"total_tokens\",\"litellm_call_id\",\"custom_llm_provider\",\"response\",\"requester_ip_address\",\"completionStartTime\",\"prompt_tokens\",\"model_id\",\"end_user\",\"agent_id\",\"request_id\",\"startTime\",\"cache_hit\",\"api_base\",\"created_at\",\"request_duration_ms\",\"request_tags\",\"completion_tokens\",\"model_group\",\"updated_at\",\"cache_key\",\"proxy_server_request\",\"organization_id\",\"model\",\"user\",\"spend\",\"call_type\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"team_id\",\"proxy_server_request\",\"total_tokens\",\"request_id\",\"api_base\",\"endTime\",\"cache_key\",\"session_id\",\"spend\",\"prompt_tokens\",\"end_user\",\"mcp_namespaced_tool_name\",\"response\",\"organization_id\",\"model_group\",\"startTime\",\"cache_hit\",\"agent_id\",\"litellm_call_id\",\"messages\",\"completionStartTime\",\"requester_ip_address\",\"api_key\",\"model\",\"user\",\"request_duration_ms\",\"status\",\"model_id\",\"custom_llm_provider\",\"updated_at\",\"completion_tokens\",\"call_type\",\"metadata\",\"request_tags\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_shutdown_flush.py::test_daily_spend_batch_cancelled_while_waiting_for_a_pool_connection_is_written_by_the_final_flush": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"policies\",\"deleted_at\",\"tpm_limit\",\"tpd_limit\",\"spend\",\"max_parallel_requests\",\"allow_team_guardrail_config\",\"team_member_permissions\",\"team_id\",\"deleted_by\",\"id\",\"soft_budget\",\"metadata\",\"router_settings\",\"access_group_ids\",\"budget_duration\",\"created_at\",\"rpm_limit\",\"members\",\"models\",\"max_budget\",\"updated_at\",\"deleted_by_api_key\",\"model_max_budget\",\"members_with_roles\",\"object_permission_id\",\"model_id\",\"organization_id\",\"litellm_changed_by\",\"model_spend\",\"blocked\",\"team_alias\",\"admins\",\"budget_reset_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"object_permission_id\",\"budget_duration\",\"key_rotation_at\",\"organization_id\",\"auto_rotate\",\"updated_at\",\"agent_id\",\"models\",\"budget_id\",\"router_settings\",\"id\",\"allowed_routes\",\"metadata\",\"max_budget\",\"created_at\",\"rotation_count\",\"config\",\"total_spend\",\"key_type\",\"max_parallel_requests\",\"rpm_limit\",\"last_active\",\"model_max_budget\",\"budget_reset_at\",\"deleted_by_api_key\",\"access_group_ids\",\"team_id\",\"permissions\",\"policies\",\"deleted_at\",\"settings_updated_at\",\"updated_by\",\"spend\",\"budget_fallbacks\",\"blocked\",\"user_id\",\"deleted_by\",\"soft_budget_cooldown\",\"created_by\",\"aliases\",\"litellm_changed_by\",\"expires\",\"tpd_limit\",\"project_id\",\"last_rotation_at\",\"rotation_interval\",\"key_alias\",\"key_name\",\"model_spend\",\"allowed_cache_controls\",\"tpm_limit\",\"token\") 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\" (\"status\",\"total_tokens\",\"model_group\",\"session_id\",\"api_key\",\"model_id\",\"end_user\",\"requester_ip_address\",\"completionStartTime\",\"cache_hit\",\"messages\",\"metadata\",\"mcp_namespaced_tool_name\",\"request_tags\",\"user\",\"cache_key\",\"startTime\",\"call_type\",\"request_id\",\"spend\",\"endTime\",\"updated_at\",\"completion_tokens\",\"model\",\"agent_id\",\"created_at\",\"prompt_tokens\",\"api_base\",\"organization_id\",\"litellm_call_id\",\"request_duration_ms\",\"response\",\"custom_llm_provider\",\"team_id\",\"proxy_server_request\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" 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\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_shutdown_flush.py::test_daily_spend_batch_cancelled_while_waiting_for_a_row_lock_is_written_exactly_once": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"members_with_roles\",\"blocked\",\"id\",\"admins\",\"model_max_budget\",\"metadata\",\"updated_at\",\"organization_id\",\"deleted_by\",\"object_permission_id\",\"litellm_changed_by\",\"created_at\",\"max_budget\",\"budget_duration\",\"deleted_at\",\"team_member_permissions\",\"members\",\"soft_budget\",\"budget_reset_at\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"policies\",\"access_group_ids\",\"model_id\",\"models\",\"max_parallel_requests\",\"model_spend\",\"router_settings\",\"team_alias\",\"team_id\",\"spend\",\"deleted_by_api_key\",\"allow_team_guardrail_config\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"metadata\",\"litellm_changed_by\",\"user_id\",\"router_settings\",\"budget_id\",\"access_group_ids\",\"model_spend\",\"rotation_count\",\"updated_by\",\"organization_id\",\"permissions\",\"last_active\",\"budget_duration\",\"budget_fallbacks\",\"key_type\",\"config\",\"total_spend\",\"project_id\",\"settings_updated_at\",\"token\",\"soft_budget_cooldown\",\"aliases\",\"deleted_at\",\"updated_at\",\"auto_rotate\",\"created_at\",\"key_name\",\"budget_reset_at\",\"agent_id\",\"max_parallel_requests\",\"object_permission_id\",\"key_rotation_at\",\"last_rotation_at\",\"model_max_budget\",\"id\",\"allowed_cache_controls\",\"allowed_routes\",\"expires\",\"models\",\"key_alias\",\"deleted_by_api_key\",\"rpm_limit\",\"tpm_limit\",\"deleted_by\",\"policies\",\"created_by\",\"max_budget\",\"tpd_limit\",\"team_id\",\"rotation_interval\",\"spend\",\"blocked\") 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_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"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_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" 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\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_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_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_spend_calculate.py::test_live_preview_entry_charges_cached_tokens_at_the_fresh_rate[gemini-live-2.5-flash-preview-native-audio-09-2025]": {},
|
|
"tests/integration/spend/test_spend_calculate.py::test_live_preview_entry_charges_cached_tokens_at_the_fresh_rate[gemini/gemini-live-2.5-flash-preview-native-audio-09-2025]": {},
|
|
"tests/integration/spend/test_spend_calculate.py::test_spend_calculate_rejects_unpriced_model_with_400": {},
|
|
"tests/integration/spend/test_team_daily_activity_aggregated.py::test_aggregated_team_activity_reports_the_whole_range_team_spend_in_one_page": {
|
|
"(SELECT date, $n::text AS api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, (GROUPING(date) << $n) | $n | GROUPING(model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, $n::bigint AS distinct_api_keys, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date), (date, model), (date, COALESCE(NULLIF(model_group, ''), model)), (date, custom_llm_provider), (date, mcp_namespaced_tool_name), (date, endpoint), () )) UNION ALL (WITH top_api_keys AS ( SELECT api_key, COUNT(*) OVER () AS distinct_api_keys FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) AND api_key <> $n GROUP BY api_key ORDER BY SUM(spend) DESC, api_key LIMIT $n ) SELECT date, api_key, model, COALESCE(NULLIF(model_group, $n), model) AS model_group, custom_llm_provider, mcp_namespaced_tool_name, endpoint, GROUPING(date, api_key, model, COALESCE(NULLIF(model_group, ''), model), custom_llm_provider, mcp_namespaced_tool_name, endpoint) AS group_level, MAX(top_api_keys.distinct_api_keys) AS distinct_api_keys, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" JOIN top_api_keys USING (api_key) WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date, api_key), (date, model, api_key), (date, COALESCE(NULLIF(model_group, ''), model), api_key), (date, custom_llm_provider, api_key), (date, mcp_namespaced_tool_name, api_key), (date, endpoint, api_key) ))": [
|
|
"litellm_reader"
|
|
],
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) 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_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_DeletedTeamTable\" (\"created_at\",\"models\",\"admins\",\"max_parallel_requests\",\"rpm_limit\",\"organization_id\",\"deleted_by_api_key\",\"team_id\",\"deleted_by\",\"access_group_ids\",\"metadata\",\"object_permission_id\",\"litellm_changed_by\",\"policies\",\"team_member_permissions\",\"team_alias\",\"updated_at\",\"router_settings\",\"budget_duration\",\"members\",\"model_max_budget\",\"model_id\",\"tpd_limit\",\"blocked\",\"deleted_at\",\"budget_reset_at\",\"members_with_roles\",\"soft_budget\",\"model_spend\",\"spend\",\"allow_team_guardrail_config\",\"id\",\"tpm_limit\",\"max_budget\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"model_spend\",\"metadata\",\"created_at\",\"aliases\",\"auto_rotate\",\"budget_reset_at\",\"key_name\",\"token\",\"budget_fallbacks\",\"tpm_limit\",\"updated_at\",\"blocked\",\"organization_id\",\"last_active\",\"budget_id\",\"id\",\"team_id\",\"expires\",\"deleted_by\",\"max_budget\",\"models\",\"last_rotation_at\",\"max_parallel_requests\",\"updated_by\",\"budget_duration\",\"model_max_budget\",\"allowed_cache_controls\",\"litellm_changed_by\",\"key_rotation_at\",\"permissions\",\"total_spend\",\"spend\",\"soft_budget_cooldown\",\"user_id\",\"object_permission_id\",\"access_group_ids\",\"project_id\",\"created_by\",\"allowed_routes\",\"rpm_limit\",\"rotation_count\",\"deleted_by_api_key\",\"agent_id\",\"policies\",\"router_settings\",\"tpd_limit\",\"deleted_at\",\"key_alias\",\"settings_updated_at\",\"config\",\"rotation_interval\",\"key_type\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"token\",\"model_spend\",\"config\",\"metadata\",\"rotation_interval\",\"total_spend\",\"updated_at\",\"key_name\",\"aliases\",\"budget_id\",\"model_max_budget\",\"object_permission_id\",\"deleted_by_api_key\",\"key_rotation_at\",\"team_id\",\"rpm_limit\",\"budget_fallbacks\",\"auto_rotate\",\"created_at\",\"organization_id\",\"models\",\"budget_duration\",\"created_by\",\"budget_reset_at\",\"allowed_routes\",\"id\",\"tpm_limit\",\"settings_updated_at\",\"spend\",\"max_parallel_requests\",\"deleted_at\",\"project_id\",\"agent_id\",\"access_group_ids\",\"allowed_cache_controls\",\"soft_budget_cooldown\",\"key_type\",\"policies\",\"last_active\",\"permissions\",\"updated_by\",\"last_rotation_at\",\"router_settings\",\"deleted_by\",\"max_budget\",\"expires\",\"rotation_count\",\"litellm_changed_by\",\"user_id\",\"key_alias\",\"tpd_limit\",\"blocked\") 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\" (\"proxy_server_request\",\"metadata\",\"request_tags\",\"agent_id\",\"cache_key\",\"completion_tokens\",\"request_duration_ms\",\"session_id\",\"call_type\",\"end_user\",\"endTime\",\"cache_hit\",\"startTime\",\"requester_ip_address\",\"completionStartTime\",\"status\",\"created_at\",\"team_id\",\"api_base\",\"total_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"organization_id\",\"messages\",\"spend\",\"model_id\",\"request_id\",\"updated_at\",\"model\",\"api_key\",\"user\",\"model_group\",\"response\",\"prompt_tokens\") VALUES ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_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 \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"team_id\" AS entity_id, date, api_key, GROUPING(api_key) AS api_key_rolled, SUM(spend)::float AS spend, SUM(ptu_flat_cost)::float AS ptu_flat_cost, SUM(prompt_tokens)::bigint AS prompt_tokens, SUM(completion_tokens)::bigint AS completion_tokens, SUM(cache_read_input_tokens)::bigint AS cache_read_input_tokens, SUM(cache_creation_input_tokens)::bigint AS cache_creation_input_tokens, SUM(compression_saved_tokens)::bigint AS compression_saved_tokens, SUM(compression_savings_spend)::float AS compression_savings_spend, SUM(prompt_caching_savings_spend)::float AS prompt_caching_savings_spend, SUM(gateway_injected_caching_savings_spend)::float AS gateway_injected_caching_savings_spend, SUM(autorouter_savings_spend)::float AS autorouter_savings_spend, SUM(api_requests)::bigint AS api_requests, SUM(successful_requests)::bigint AS successful_requests, SUM(failed_requests)::bigint AS failed_requests, SUM(total_response_time_ms)::bigint AS total_response_time_ms, SUM(timed_requests)::bigint AS timed_requests FROM \"LiteLLM_DailyTeamSpend\" WHERE date >= $n AND date <= $n AND \"team_id\" IN ($n) GROUP BY GROUPING SETS ( (date, \"team_id\"), (date, \"team_id\", api_key) )": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"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 \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/spend/test_team_member_spend.py::test_member_added_without_any_budget_is_charged_on_its_membership_row": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_InvitationLink\" WHERE (\"public\".\"LiteLLM_InvitationLink\".\"user_id\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"created_by\" IN ($n) OR \"public\".\"LiteLLM_InvitationLink\".\"updated_by\" IN ($n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_TeamMembership\" (user_id, team_id, spend, total_spend) SELECT p.user_id, p.team_id, p.cost, p.cost FROM unnest($n::text[], $n::text[], $n::float8[]) AS p(user_id, team_id, cost) WHERE EXISTS ( SELECT $n FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = p.team_id AND t.members_with_roles @> jsonb_build_array(jsonb_build_object($n, p.user_id)) ) OR EXISTS (SELECT $n FROM \"LiteLLM_TeamMembership\" m WHERE m.user_id = p.user_id AND m.team_id = p.team_id) ON CONFLICT (user_id, team_id) DO UPDATE SET spend = \"LiteLLM_TeamMembership\".spend + EXCLUDED.spend, total_spend = \"LiteLLM_TeamMembership\".total_spend + EXCLUDED.total_spend": [
|
|
"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_DeletedTeamTable\" (\"litellm_changed_by\",\"id\",\"model_id\",\"deleted_at\",\"deleted_by\",\"max_parallel_requests\",\"team_alias\",\"updated_at\",\"members\",\"policies\",\"organization_id\",\"members_with_roles\",\"metadata\",\"allow_team_guardrail_config\",\"tpd_limit\",\"team_member_permissions\",\"soft_budget\",\"model_spend\",\"team_id\",\"created_at\",\"rpm_limit\",\"models\",\"max_budget\",\"object_permission_id\",\"tpm_limit\",\"admins\",\"model_max_budget\",\"deleted_by_api_key\",\"budget_reset_at\",\"blocked\",\"spend\",\"budget_duration\",\"router_settings\",\"access_group_ids\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"policies\",\"max_budget\",\"budget_id\",\"budget_duration\",\"rotation_count\",\"id\",\"key_alias\",\"allowed_cache_controls\",\"key_rotation_at\",\"organization_id\",\"token\",\"team_id\",\"permissions\",\"litellm_changed_by\",\"object_permission_id\",\"metadata\",\"key_type\",\"model_spend\",\"last_rotation_at\",\"updated_by\",\"key_name\",\"last_active\",\"rotation_interval\",\"model_max_budget\",\"allowed_routes\",\"settings_updated_at\",\"soft_budget_cooldown\",\"project_id\",\"deleted_at\",\"aliases\",\"tpd_limit\",\"auto_rotate\",\"spend\",\"user_id\",\"models\",\"created_by\",\"blocked\",\"created_at\",\"access_group_ids\",\"config\",\"max_parallel_requests\",\"agent_id\",\"rpm_limit\",\"deleted_by_api_key\",\"tpm_limit\",\"router_settings\",\"total_spend\",\"updated_at\",\"deleted_by\",\"budget_fallbacks\",\"expires\",\"budget_reset_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"cache_hit\",\"team_id\",\"completionStartTime\",\"metadata\",\"custom_llm_provider\",\"spend\",\"messages\",\"startTime\",\"prompt_tokens\",\"created_at\",\"request_tags\",\"proxy_server_request\",\"model_id\",\"agent_id\",\"total_tokens\",\"endTime\",\"requester_ip_address\",\"call_type\",\"session_id\",\"user\",\"model_group\",\"updated_at\",\"mcp_namespaced_tool_name\",\"status\",\"completion_tokens\",\"litellm_call_id\",\"request_duration_ms\",\"request_id\",\"response\",\"end_user\",\"model\",\"organization_id\",\"cache_key\",\"api_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"user_alias\",\"team_id\",\"sso_user_id\",\"organization_id\",\"object_permission_id\",\"teams\",\"user_role\",\"max_budget\",\"spend\",\"user_email\",\"models\",\"metadata\",\"max_parallel_requests\",\"tpm_limit\",\"rpm_limit\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_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_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"created_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"updated_by\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_InvitationLink\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_OrganizationMembership\" x WHERE $n OPERATOR(pg_catalog.=) \"user_id\" FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ( SELECT to_jsonb(u) || jsonb_build_object( $n, COALESCE(to_jsonb(u.teams), $n::jsonb), $n, COALESCE(to_jsonb(u.models), $n::jsonb), $n, COALESCE(to_jsonb(u.allowed_cache_controls), $n::jsonb), $n, COALESCE(to_jsonb(u.policies), $n::jsonb), $n, COALESCE(( SELECT jsonb_agg(to_jsonb(om)) FROM \"LiteLLM_OrganizationMembership\" om WHERE om.user_id = u.user_id ), $n::jsonb) ) FROM \"LiteLLM_UserTable\" u WHERE u.user_id = $n ) AS user_row, ( SELECT to_jsonb(t) || jsonb_build_object( $n, COALESCE(to_jsonb(t.admins), $n::jsonb), $n, COALESCE(to_jsonb(t.members), $n::jsonb), $n, COALESCE(to_jsonb(t.models), $n::jsonb), $n, COALESCE(to_jsonb(t.team_member_permissions), $n::jsonb), $n, COALESCE(to_jsonb(t.access_group_ids), $n::jsonb), $n, COALESCE(to_jsonb(t.policies), $n::jsonb), $n, COALESCE(to_jsonb(t.default_team_member_models), $n::jsonb), $n, ( SELECT (to_jsonb(m) - $n) || jsonb_build_object($n, m.aliases) FROM \"LiteLLM_ModelTable\" m WHERE m.id = t.model_id ), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = t.object_permission_id) ) FROM \"LiteLLM_TeamTable\" t WHERE t.team_id = $n ) AS team_row, ( SELECT to_jsonb(tm) || jsonb_build_object($n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = tm.budget_id)) FROM \"LiteLLM_TeamMembership\" tm WHERE tm.user_id = $n AND tm.team_id = $n ) AS membership_row, ( SELECT to_jsonb(o) || jsonb_build_object( $n, COALESCE(to_jsonb(o.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = o.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = o.object_permission_id) ) FROM \"LiteLLM_OrganizationTable\" o WHERE o.organization_id = $n ) AS organization_row, ( SELECT to_jsonb(p) || jsonb_build_object( $n, COALESCE(to_jsonb(p.models), $n::jsonb), $n, (SELECT to_jsonb(b) || jsonb_build_object($n, COALESCE(to_jsonb(b.allowed_models), $n::jsonb)) FROM \"LiteLLM_BudgetTable\" b WHERE b.budget_id = p.budget_id), $n, (SELECT to_jsonb(op) || jsonb_build_object($n, COALESCE(to_jsonb(op.mcp_servers), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.mcp_toolsets), $n::jsonb), $n, COALESCE(to_jsonb(op.blocked_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.vector_stores), $n::jsonb), $n, COALESCE(to_jsonb(op.agents), $n::jsonb), $n, COALESCE(to_jsonb(op.agent_access_groups), $n::jsonb), $n, COALESCE(to_jsonb(op.models), $n::jsonb), $n, COALESCE(to_jsonb(op.search_tools), $n::jsonb), $n, COALESCE(to_jsonb(op.skills), $n::jsonb)) FROM \"LiteLLM_ObjectPermissionTable\" op WHERE op.object_permission_id = p.object_permission_id) ) FROM \"LiteLLM_ProjectTable\" p WHERE p.project_id = $n ) AS project_row": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"metadata\"#>ARRAY[$n]::text[])::jsonb::jsonb = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"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 \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
}
|
|
}
|
|
}
|