DictationSessionCredentials
What a browser needs to open the vendor socket for one session. Carries no vendor API key.
type DictationSessionCredentials {
id: ID!
provider: String!
websocket_url: String!
subprotocols: [String!]!
expires_in_seconds: Int!
max_session_seconds: Int!
}
Fields
DictationSessionCredentials.id ● ID! non-null scalar
DictationSessionCredentials.provider ● String! non-null scalar
Vendor name, e.g. deepgram. Picks the transport adapter in the browser.
DictationSessionCredentials.websocket_url ● String! non-null scalar
Full socket URL, query parameters included.
DictationSessionCredentials.subprotocols ● [String!]! non-null scalar
Values for the WebSocket subprotocol handshake; the short-lived token travels here.
DictationSessionCredentials.expires_in_seconds ● Int! non-null scalar
Seconds the token stays valid for opening the socket.
DictationSessionCredentials.max_session_seconds ● Int! non-null scalar
The browser stops recording at this many seconds.
Returned By
createDictationSession mutation


