Skip to main content
POST
Create

Authorizations

gateway_session
string
cookie
required

Secure same-origin browser session cookie.

Body

application/json
name
string
required
Required string length: 1 - 80
Pattern: .*\S.*
url
string
required
Maximum string length: 2048
auth_type
enum<string>
default:bearer
Available options:
none,
bearer,
api_key,
oauth
credential_scope
enum<string>
default:personal
Available options:
personal,
shared
header_name
string
default:Authorization
Maximum string length: 64
enabled
boolean
default:true
allowed_tools
string[] | null
Maximum array length: 512
Required string length: 1 - 200
project_id
string<uuid> | null
oauth
McpOAuthConfiguration · object | null
oauth_client_secret
string | null
Maximum string length: 16384
revision
integer
default:1
Required range: x >= 1

Response

Successful Response

{key}
string