Create an OpenRouter Connection.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | A unique name for the connection. |
method | string | Yes | Must be "api-key". |
projectId | string (UUID) | Yes | The project ID to attach the connection to. |
credentials.apiKey | string | Yes | Your OpenRouter Provisioning API key. |
The method used to authenticate with OpenRouter.
api-key The credentials used to connect with OpenRouter.
The name of the OpenRouter Connection to create. Must be slug-friendly.
1 - 64An optional description for the OpenRouter Connection.
256The ID of the project to create the OpenRouter Connection in.
Not supported for OpenRouter Connections.
true, false Not supported for OpenRouter Connections.
Default Response