Skip to main content
POST
TypeScript (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
roleId
string
name
string
description
string
defaultModelId
number | null

Wrapper message for int32.

The JSON representation for Int32Value is JSON number.

Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed.

allowedModelIds
integer<int32>[]
allowModelChoice
boolean

Wrapper message for bool.

The JSON representation for BoolValue is JSON true and false.

Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed.

clearAllowedModelIds
boolean

Response

Success

role
role · object