{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIContext Calls API",
    "version": "v2026-09-02"
  },
  "items": [
    {
      "info": {
        "name": "Calls",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update-Kms-Helper",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client.apimetrics.io/api/3/calls/:call_id/update-kms-helper",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a new KMS helper API call based on an existing old helper API call."
        },
        {
          "info": {
            "name": "List-Calls",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "api_url",
                "value": "",
                "type": "query"
              },
              {
                "name": "domain",
                "value": "",
                "type": "query"
              },
              {
                "name": "organization",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List API calls for the authenticated project."
        },
        {
          "info": {
            "name": "Create-Call",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client.apimetrics.io/api/2/calls/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a new API call."
        },
        {
          "info": {
            "name": "Build-Call-From-Curl",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client.apimetrics.io/api/2/calls/build/curl",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Parse a curl command into an (unsaved) API call representation."
        },
        {
          "info": {
            "name": "List-Calls-By-Auth",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/auth/:sc_key_str/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "sc_key_str",
                "value": "",
                "type": "path"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List API calls that use a given auth (ServiceConfig)."
        },
        {
          "info": {
            "name": "Get-Call",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get a single API call by id."
        },
        {
          "info": {
            "name": "Update-Call",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Partially update an API call (only supplied fields change)."
        },
        {
          "info": {
            "name": "Delete-Call",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete an API call and return its last representation."
        },
        {
          "info": {
            "name": "Run-Call-V2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/run",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Trigger an on-demand run of an API call.\n\nDeprecated: use ``POST /api/3/monitors/{id}/run``."
        },
        {
          "info": {
            "name": "Get-Call-Variables-Used",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/variables/used",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List variable names referenced by a monitor's request.\n\nScans the target url plus, where present, an API call's\nparameters/headers/body and an MCP monitor's step tool names and\narguments. Works for api, browser and mcp monitors."
        },
        {
          "info": {
            "name": "Get-Call-Variables-Set",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/variables/set",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List variable names set by a monitor's post-test conditions.\n\nWorks for api, browser and mcp monitors."
        },
        {
          "info": {
            "name": "Get-Call-Conditions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/conditions/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get the post-test conditions for an API call."
        },
        {
          "info": {
            "name": "Set-Call-Conditions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client.apimetrics.io/api/2/calls/:call_id/conditions/",
            "headers": [
              {
                "name": "apimetrics-project-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://auth.apimetrics.io/authorize?audience=https://client.apimetrics.io",
              "accessTokenUrl": "https://auth.apimetrics.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Replace the post-test conditions for an API call."
        }
      ]
    }
  ],
  "bundled": true
}