Home / Servers / OpenAI API / create_realtime_translation_client_secret

Create translation client secret

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Create translation client secret Create a Realtime translation client secret with an associated translation session configuration. Client secrets are short-lived tokens that can be passed to a client app, such as a web frontend or… [POST /realtime/translations/client_secrets]

Name on the gateway: openai_api__create_realtime_translation_client_secret · may change things.

Parameters

NameTypeDescription
expires_afterobjectConfiguration for the client secret expiration. Expiration refers to the time…
session requiredobjectRealtime translation session configuration. Translation sessions stream source…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__create_realtime_translation_client_secret",
  "arguments": {
    "session": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create translation client secret tool with expires_after set to ….

More from OpenAI API