{
  "service": "speechmatics",
  "displayName": "Speechmatics",
  "description": "Query Speechmatics workspace projects, live service capabilities, and documented cloud deployment endpoints.",
  "categories": [
    "AI",
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Management Token",
      "placeholder": "SPEECHMATICS_MANAGEMENT_TOKEN",
      "description": "Speechmatics workspace Management Token sent as a Bearer token. Create one with View projects permission under Manage workspace > Management tokens in the Speechmatics Portal: https://portal.speechmatics.com."
    }
  ],
  "homepageUrl": "https://www.speechmatics.com/",
  "actions": [
    {
      "id": "speechmatics.get_service_capabilities",
      "service": "speechmatics",
      "name": "get_service_capabilities",
      "description": "Query the Speechmatics Discovery API for current Batch transcription, translation, language identification, and language metadata capabilities in a cloud region.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "region": {
            "type": "string",
            "enum": [
              "eu1",
              "eu2",
              "us1",
              "us2",
              "au1"
            ],
            "description": "The Batch SaaS region whose Discovery API should be queried.",
            "default": "eu1"
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for querying Speechmatics service capabilities."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "region": {
            "type": "string",
            "enum": [
              "eu1",
              "eu2",
              "us1",
              "us2",
              "au1"
            ],
            "description": "The queried Speechmatics Batch SaaS region."
          },
          "endpoint": {
            "type": "string",
            "description": "The Discovery API endpoint that was queried.",
            "format": "uri"
          },
          "capabilities": {
            "type": "object",
            "properties": {
              "metadata": {
                "type": "object",
                "properties": {
                  "language_pack_info": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Metadata for one language pack."
                    },
                    "description": "Language pack metadata keyed by Speechmatics language code."
                  }
                },
                "additionalProperties": true,
                "description": "Language metadata returned by Speechmatics."
              },
              "batch": {
                "type": "object",
                "properties": {
                  "transcription": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string",
                          "description": "The capability version."
                        },
                        "languages": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          },
                          "description": "Supported transcription language codes."
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "description": "Supported values."
                          },
                          "description": "A map from a language or capability name to its supported values."
                        },
                        "domains": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "description": "Supported values."
                          },
                          "description": "A map from a language or capability name to its supported values."
                        },
                        "domains_availability": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "description": "Supported values."
                          },
                          "description": "A map from a language or capability name to its supported values."
                        }
                      },
                      "additionalProperties": true,
                      "required": [
                        "version",
                        "languages"
                      ],
                      "description": "Speechmatics Batch transcription capabilities for one API version."
                    },
                    "description": "Batch transcription capabilities."
                  },
                  "translation": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string",
                          "description": "The capability version."
                        },
                        "languages": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "description": "Supported values."
                          },
                          "description": "A map from a language or capability name to its supported values."
                        }
                      },
                      "additionalProperties": true,
                      "description": "Speechmatics Batch translation capabilities for one API version."
                    },
                    "description": "Batch translation capabilities."
                  },
                  "languageid": {
                    "type": "object",
                    "properties": {
                      "languages": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        },
                        "description": "Languages supported by language identification."
                      }
                    },
                    "additionalProperties": true,
                    "description": "Batch language identification capabilities."
                  }
                },
                "additionalProperties": true,
                "description": "Capabilities exposed by the Speechmatics Batch API."
              }
            },
            "additionalProperties": true,
            "description": "The Speechmatics Discovery API capability document."
          }
        },
        "additionalProperties": false,
        "description": "Speechmatics service capabilities for a cloud region."
      }
    },
    {
      "id": "speechmatics.list_deployments",
      "service": "speechmatics",
      "name": "list_deployments",
      "description": "List the Speechmatics Batch and Realtime SaaS production deployments documented for general and enterprise customers.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "batch",
              "realtime"
            ],
            "description": "Only return deployments for this processing mode."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing Speechmatics cloud deployments."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "batch",
                    "realtime"
                  ],
                  "description": "The processing mode served by this deployment."
                },
                "region": {
                  "type": "string",
                  "description": "The Speechmatics region code."
                },
                "location": {
                  "type": "string",
                  "description": "The geographic location of the deployment."
                },
                "customerType": {
                  "type": "string",
                  "enum": [
                    "all",
                    "enterprise"
                  ],
                  "description": "Which customers can use the deployment."
                },
                "endpoint": {
                  "type": "string",
                  "description": "The production API hostname."
                },
                "protocol": {
                  "type": "string",
                  "enum": [
                    "https",
                    "wss"
                  ],
                  "description": "The protocol used to connect to the deployment."
                },
                "apiVersion": {
                  "type": "string",
                  "description": "The API version path used by the deployment."
                }
              },
              "additionalProperties": false,
              "description": "A documented Speechmatics cloud API deployment."
            },
            "description": "Speechmatics cloud API deployments."
          }
        },
        "additionalProperties": false,
        "description": "Documented Speechmatics cloud deployments."
      }
    },
    {
      "id": "speechmatics.list_projects",
      "service": "speechmatics",
      "name": "list_projects",
      "description": "List projects in the Speechmatics workspace associated with the configured Management Token.",
      "requiredScopes": [],
      "providerPermissions": [
        "View projects"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for listing Speechmatics projects."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "project_id": {
                  "type": "integer",
                  "description": "The numeric project identifier."
                },
                "is_default": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether this is the workspace default project."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_active": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the project is active."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string",
                  "description": "The project name."
                },
                "description": {
                  "type": "string",
                  "description": "The project description."
                },
                "created_at": {
                  "type": "string",
                  "description": "When the project was created.",
                  "format": "date-time"
                },
                "deleted_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "When the project was deleted, when applicable.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "required": [
                "project_id"
              ],
              "description": "A Speechmatics workspace project."
            },
            "description": "Projects returned by the Speechmatics Management API."
          }
        },
        "additionalProperties": false,
        "description": "Speechmatics workspace projects."
      }
    }
  ]
}
