{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ultravox accounts API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "accounts_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "accounts_me_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "accounts_me_billing_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/billing",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Gets high-level billing information for the current account."
        },
        {
          "info": {
            "name": "accounts_me_billing_invoices_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/billing/invoices",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Lists invoices for the current account."
        },
        {
          "info": {
            "name": "accounts_me_billing_usage_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/billing/usage",
            "params": [
              {
                "name": "fromDate",
                "value": "",
                "type": "query",
                "description": "Start date (UTC, inclusive) for per-day usage information. Defaults to the start of monthly billing cycle."
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query",
                "description": "End date (UTC, exclusive) for per-day usage information. Max 90 days after fromDate."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Gets usage information for the current account in the given period."
        },
        {
          "info": {
            "name": "accounts_me_telephony_config_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/telephony_config",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "DEPRECATED. Prefer the provider-specific endpoints, e.g. /api/telephony_configs/twilio."
        },
        {
          "info": {
            "name": "accounts_me_telephony_config_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.ultravox.ai/api/accounts/me/telephony_config",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "DEPRECATED. Prefer the provider-specific endpoints, e.g. /api/telephony_configs/twilio."
        },
        {
          "info": {
            "name": "accounts_me_tts_api_keys_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/tts_api_keys",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "accounts_me_tts_api_keys_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.ultravox.ai/api/accounts/me/tts_api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "accounts_me_usage_calls_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/usage/calls",
            "params": [
              {
                "name": "agentIds",
                "value": "",
                "type": "query",
                "description": "Filter calls by the agent IDs."
              },
              {
                "name": "durationMax",
                "value": "",
                "type": "query",
                "description": "Maximum duration of calls"
              },
              {
                "name": "durationMin",
                "value": "",
                "type": "query",
                "description": "Minimum duration of calls"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query",
                "description": "Start datetime (inclusive) for filtering calls by creation date. If no time component is present, this defaults to the start of the day (midnight)."
              },
              {
                "name": "metadata",
                "value": "",
                "type": "query",
                "description": "Filter calls by metadata. Use metadata.key=value to filter by specific key-value pairs."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "The search string used to filter results"
              },
              {
                "name": "timeOfDayEnd",
                "value": "",
                "type": "query",
                "description": "Filter calls by the time of day of their creation, regardless of date. Format: HH:MM:SS. Defaults to 23:59:59 if not specified."
              },
              {
                "name": "timeOfDayStart",
                "value": "",
                "type": "query",
                "description": "Filter calls by the time of day of their creation, regardless of date. Format: HH:MM:SS. Defaults to 00:00:00 if not specified."
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query",
                "description": "End datetime (inclusive) for filtering calls by creation date. If no time component is present, this defaults to the end of the day (11:59:59.999999 PM)."
              },
              {
                "name": "voiceId",
                "value": "",
                "type": "query",
                "description": "Filter calls by the associated voice ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Gets aggregated call usage."
        },
        {
          "info": {
            "name": "accounts_me_usage_concurrency_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ultravox.ai/api/accounts/me/usage/concurrency",
            "params": [
              {
                "name": "bucket",
                "value": "",
                "type": "query",
                "description": "Bucket size for the time series.\n\n* `minute` - minute\n* `5min` - 5min\n* `hour` - hour\n* `day` - day"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "End datetime for the time range. Defaults to now."
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Start datetime for the time range. Defaults to 24 hours before end."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Gets historical call concurrency for the account."
        }
      ]
    }
  ],
  "bundled": true
}