{
  "service": "conductor",
  "displayName": "Conductor",
  "categories": [
    "Marketing",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Reporting API Token",
      "placeholder": "CONDUCTOR_REPORTING_API_TOKEN",
      "description": "Conductor Monitoring Reporting API token sent in the Authorization header. Find it in Conductor Monitoring under Account > Integration Tokens: https://support.conductor.com/en_US/conductor-monitoring-apis/conductor-monitoring-reporting-api"
    }
  ],
  "homepageUrl": "https://www.conductor.com",
  "actions": [
    {
      "id": "conductor.get_page",
      "service": "conductor",
      "name": "get_page",
      "description": "Retrieve data for one URL in a Conductor Monitoring website.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          },
          "url": {
            "type": "string",
            "description": "The page URL to retrieve from the Conductor Monitoring website.",
            "format": "uri"
          }
        },
        "additionalProperties": false,
        "description": "Input for retrieving one Conductor Monitoring page."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Conductor Monitoring data object."
          },
          "data_captured_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The timestamp when Conductor captured the returned data."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_data_golden": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether Conductor marks the returned data as golden."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "required": [
          "data",
          "raw"
        ],
        "description": "The Conductor Monitoring page detail response."
      }
    },
    {
      "id": "conductor.get_statistics",
      "service": "conductor",
      "name": "get_statistics",
      "description": "Retrieve Conductor Monitoring statistics for a whole website or a segment scope.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          },
          "scope": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring scope, such as website, segment:<segment_id>, or segment_label:<segment_label>."
          },
          "captured_at": {
            "type": "string",
            "minLength": 1,
            "description": "Optional historical capture timestamp in ISO 8601 format accepted by Conductor."
          }
        },
        "additionalProperties": false,
        "required": [
          "website_id",
          "scope"
        ],
        "description": "Input for retrieving Conductor Monitoring statistics."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Conductor Monitoring data object."
          },
          "data_captured_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The timestamp when Conductor captured the returned data."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_data_golden": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether Conductor marks the returned data as golden."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "required": [
          "data",
          "raw"
        ],
        "description": "The Conductor Monitoring statistics response."
      }
    },
    {
      "id": "conductor.list_affected_pages",
      "service": "conductor",
      "name": "list_affected_pages",
      "description": "List pages affected by one Conductor Monitoring issue.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          },
          "issue": {
            "type": "string",
            "minLength": 1,
            "description": "The issue name returned by list_issues."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The one-based page number to retrieve. Do not use together with page_cursor."
          },
          "per_page": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The number of records to return per page."
          }
        },
        "additionalProperties": false,
        "required": [
          "website_id",
          "issue"
        ],
        "description": "Input for listing pages affected by a Conductor Monitoring issue."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Conductor Monitoring data object."
          },
          "data_captured_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The timestamp when Conductor captured the returned data."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_data_golden": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether Conductor marks the returned data as golden."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "required": [
          "data",
          "raw"
        ],
        "description": "The Conductor Monitoring affected pages response."
      }
    },
    {
      "id": "conductor.list_issues",
      "service": "conductor",
      "name": "list_issues",
      "description": "List Conductor Monitoring issues for a whole website or a segment scope.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          },
          "scope": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring scope, such as website, segment:<segment_id>, or segment_label:<segment_label>."
          },
          "captured_at": {
            "type": "string",
            "minLength": 1,
            "description": "Optional historical capture timestamp in ISO 8601 format accepted by Conductor."
          }
        },
        "additionalProperties": false,
        "required": [
          "website_id",
          "scope"
        ],
        "description": "Input for listing Conductor Monitoring issues."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "One Conductor Monitoring record."
            },
            "description": "The Conductor Monitoring data array."
          },
          "data_captured_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The timestamp when Conductor captured the returned data."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_data_golden": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether Conductor marks the returned data as golden."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "required": [
          "data",
          "raw"
        ],
        "description": "The Conductor Monitoring issue list response."
      }
    },
    {
      "id": "conductor.list_pages",
      "service": "conductor",
      "name": "list_pages",
      "description": "List pages for a Conductor Monitoring website with pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          },
          "per_page": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The number of records to return per page."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The one-based page number to retrieve. Do not use together with page_cursor."
          },
          "page_cursor": {
            "type": "string",
            "minLength": 1,
            "description": "The page cursor returned by the previous Conductor Monitoring page-list response. Do not use together with page."
          },
          "sort": {
            "type": "string",
            "enum": [
              "url"
            ],
            "description": "The field Conductor should sort by."
          },
          "direction": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The Conductor sort direction."
          }
        },
        "additionalProperties": false,
        "required": [
          "website_id",
          "per_page"
        ],
        "description": "Input for listing Conductor Monitoring pages."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The Conductor Monitoring data object."
          },
          "data_captured_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "The timestamp when Conductor captured the returned data."
              },
              {
                "type": "null"
              }
            ]
          },
          "is_data_golden": {
            "anyOf": [
              {
                "type": "boolean",
                "description": "Whether Conductor marks the returned data as golden."
              },
              {
                "type": "null"
              }
            ]
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "required": [
          "data",
          "raw"
        ],
        "description": "The Conductor Monitoring page list response."
      }
    },
    {
      "id": "conductor.list_segments",
      "service": "conductor",
      "name": "list_segments",
      "description": "List Conductor Monitoring segments for one website.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "website_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Conductor Monitoring website ID returned by list_websites."
          }
        },
        "additionalProperties": false,
        "description": "Input for listing Conductor Monitoring segments."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Conductor Monitoring segment ID."
                },
                "color": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The segment color value."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "label": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The segment label."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "shortcode": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The segment shortcode when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "One Conductor Monitoring segment."
            },
            "description": "Segments returned by Conductor Monitoring."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "description": "The Conductor Monitoring segment list response."
      }
    },
    {
      "id": "conductor.list_websites",
      "service": "conductor",
      "name": "list_websites",
      "description": "List websites available in the connected Conductor Monitoring account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input for listing Conductor Monitoring websites."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Conductor Monitoring website ID."
                },
                "app_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Conductor app URL for the website."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "domain": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The website domain URL."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The website display name when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "page_capacity": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "The configured page capacity for the website."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "One Conductor Monitoring website."
            },
            "description": "Websites returned by Conductor Monitoring."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw Conductor Monitoring JSON response."
          }
        },
        "additionalProperties": false,
        "description": "The Conductor Monitoring website list response."
      }
    }
  ]
}
