{
  "db_name": "PostgreSQL",
  "query": "\n            INSERT INTO model_tariffs (\n                deployed_model_id, name, input_price_per_token, output_price_per_token,\n                api_key_purpose, completion_window, valid_from\n            )\n            VALUES ($1, $2, $3, $4, $5, $6, COALESCE($7, NOW()))\n            RETURNING id, deployed_model_id, name, input_price_per_token, output_price_per_token,\n                      valid_from, valid_until, api_key_purpose as \"api_key_purpose: _\", completion_window\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "deployed_model_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "input_price_per_token",
        "type_info": "Numeric"
      },
      {
        "ordinal": 4,
        "name": "output_price_per_token",
        "type_info": "Numeric"
      },
      {
        "ordinal": 5,
        "name": "valid_from",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "valid_until",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "api_key_purpose: _",
        "type_info": "Varchar"
      },
      {
        "ordinal": 8,
        "name": "completion_window",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Varchar",
        "Numeric",
        "Numeric",
        "Varchar",
        "Varchar",
        "Timestamptz"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true
    ]
  },
  "hash": "8ec1403a416795fa767056cb3bf692aeaf4fcae93edeb9de758f4f730ef41e30"
}
