> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://onepin.ai/docs/reference/api-reference/providers/get-catalog-provider-api-v-1-providers-provider-get/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://onepin.ai/_mcp/server. # Get Catalog Provider GET https://api.onepin.ai/api/v1/providers/{provider} Get a single speech synthesis provider by its canonical identifier. Returns the same shape as an item in `GET /providers` — display name, model count, `beta`, and a HATEOAS `models` link — but scoped to a single provider. Returns 404 if the provider identifier is not recognized or is not available to your account. The canonical identifier is the lowercase slug returned in the `provider` field of the list response. Reference: https://onepin.ai/docs/reference/api-reference/providers/get-catalog-provider-api-v-1-providers-provider-get ## Authentication - `Authorization` header (bearer token, required) — Clerk JWT token - `Authorization` header (bearer token, required) — Onepin live API key (`op_live_...`). Test and public keys are reserved in Phase 1. ## Servers - `https://api.onepin.ai` (prod, default) - `https://dev-api.onepin.ai` (dev) ## Request ### Path parameters - `provider` (string, required) ### Headers - `X-Workspace-Id` (string, optional, nullable) ## Response ### 200 Successful Response - `data` (CatalogProviderOut, required) — Catalog provider entry — lean, customer-safe. Sourced from the in-memory ``ProviderRegistry`` (TTS / ``operator`` kind). Cost, credentials, base_url, and enabled flags are excluded by construction. - `meta` (Meta, required) ## Errors ### 404 Not Found Error Provider not found - `error` (ApiErrorBody, required) - `meta` (Meta, required) ### 422 Unprocessable Entity Error Validation Error - `detail` (list of ValidationError, optional) ## Types ### CatalogProviderOut Catalog provider entry — lean, customer-safe. Sourced from the in-memory ``ProviderRegistry`` (TTS / ``operator`` kind). Cost, credentials, base_url, and enabled flags are excluded by construction. - `provider` (string, required) - `display_name` (string, required) - `kind` (string, required) - `model_count` (integer, required) - `beta` (boolean, optional, default: false) - `links` (map from string to CatalogLink, optional) ### Meta - `request_id` (string, required) - `timestamp` (datetime, required) ### ApiErrorBody - `code` (string, required) - `message` (string, required) - `details` (list of ApiErrorDetail, optional, default: []) ### ValidationError - `loc` (list of ValidationErrorLocItems, required) - `msg` (string, required) - `type` (string, required) - `input` (any, optional) - `ctx` (ValidationErrorCtx, optional) ### CatalogLink HATEOAS link to a nested catalog resource (HAL-FORMS-flavored). The server emits a concrete, ready-to-call ``href`` (path segments already filled in and URL-encoded) so the FE never constructs catalog URLs itself. - `href` (string, required) - `method` (string, optional, default: GET) ### ApiErrorDetail - `field` (string, required) - `message` (string, required) - `line_numbers` (list of integer, optional, nullable) - `min_chars` (integer, optional, nullable) ### ValidationErrorLocItems ### ValidationErrorCtx ## Examples **Response** ```json { "data": { "provider": "string", "display_name": "string", "kind": "string", "model_count": 1, "beta": false, "links": {} }, "meta": { "request_id": "string", "timestamp": "2024-01-15T09:30:00Z" } } ``` **SDK Code** ```python import requests url = "https://api.onepin.ai/api/v1/providers/provider" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://api.onepin.ai/api/v1/providers/provider'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.onepin.ai/api/v1/providers/provider" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.onepin.ai/api/v1/providers/provider") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.onepin.ai/api/v1/providers/provider") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://api.onepin.ai/api/v1/providers/provider', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.onepin.ai/api/v1/providers/provider"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.onepin.ai/api/v1/providers/provider")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ``` > Onepin is a voice workflow platform that orchestrates, validates, and ships production-ready audio across 33 TTS models.