/openrouter-admin | Type: Application | PCID required: Yes
Tools
openrouter_admin_bulk_add_workspace_members
Bulk add members to a workspace Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The workspace ID (UUID) or slug |
user_ids | string[] | Yes | — | List of user IDs to add to the workspace. Members are assigned the same role they hold in the organization. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The workspace ID (UUID) or slug"
},
"user_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of user IDs to add to the workspace. Members are assigned the same role they hold in the organization."
}
},
"required": [
"PCID",
"id",
"user_ids"
]
}
openrouter_admin_bulk_assign_keys_to_guardrail
Bulk assign keys to a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
key_hashes | string[] | Yes | — | Array of API key hashes to assign to the guardrail |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"key_hashes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of API key hashes to assign to the guardrail"
}
},
"required": [
"PCID",
"id",
"key_hashes"
]
}
openrouter_admin_bulk_assign_members_to_guardrail
Bulk assign members to a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
member_user_ids | string[] | Yes | — | Array of member user IDs to assign to the guardrail |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"member_user_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of member user IDs to assign to the guardrail"
}
},
"required": [
"PCID",
"id",
"member_user_ids"
]
}
openrouter_admin_bulk_remove_workspace_members
Bulk remove members from a workspace Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The workspace ID (UUID) or slug |
user_ids | string[] | Yes | — | List of user IDs to remove from the workspace |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The workspace ID (UUID) or slug"
},
"user_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of user IDs to remove from the workspace"
}
},
"required": [
"PCID",
"id",
"user_ids"
]
}
openrouter_admin_bulk_unassign_keys_from_guardrail
Bulk unassign keys from a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
key_hashes | string[] | Yes | — | Array of API key hashes to unassign from the guardrail |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"key_hashes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of API key hashes to unassign from the guardrail"
}
},
"required": [
"PCID",
"id",
"key_hashes"
]
}
openrouter_admin_bulk_unassign_members_from_guardrail
Bulk unassign members from a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
member_user_ids | string[] | Yes | — | Array of member user IDs to unassign from the guardrail |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"member_user_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of member user IDs to unassign from the guardrail"
}
},
"required": [
"PCID",
"id",
"member_user_ids"
]
}
openrouter_admin_create_guardrail
Create a guardrail Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
allowed_models | string[] | No | — | Array of model identifiers (slug or canonical_slug accepted) | |
allowed_providers | string[] | No | — | List of allowed provider IDs | |
description | string | null | No | — | Description of the guardrail |
enforce_zdr | boolean | null | No | — | Whether to enforce zero data retention |
ignored_models | string[] | No | — | Array of model identifiers to exclude from routing (slug or canonical_slug accepted) | |
ignored_providers | string[] | No | — | List of provider IDs to exclude from routing | |
limit_usd | number | null | No | — | Spending limit in USD |
name | string | Yes | — | Name for the new guardrail | |
reset_interval | string | null | No | — | Interval at which the limit resets (daily, weekly, monthly) |
workspace_id | string | No | — | The workspace to create the guardrail in. Defaults to the default workspace if not provided. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"allowed_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of model identifiers (slug or canonical_slug accepted)"
},
"allowed_providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of allowed provider IDs"
},
"description": {
"type": [
"string",
"null"
],
"description": "Description of the guardrail"
},
"enforce_zdr": {
"type": [
"boolean",
"null"
],
"description": "Whether to enforce zero data retention"
},
"ignored_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"
},
"ignored_providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of provider IDs to exclude from routing"
},
"limit_usd": {
"type": [
"number",
"null"
],
"description": "Spending limit in USD"
},
"name": {
"type": "string",
"description": "Name for the new guardrail"
},
"reset_interval": {
"type": [
"string",
"null"
],
"description": "Interval at which the limit resets (daily, weekly, monthly)",
"enum": [
"daily",
"weekly",
"monthly"
]
},
"workspace_id": {
"type": "string",
"description": "The workspace to create the guardrail in. Defaults to the default workspace if not provided."
}
},
"required": [
"PCID",
"name"
]
}
openrouter_admin_create_keys
Create a new API key Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
creator_user_id | string | null | No | — | Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. |
expires_at | string | null | No | — | Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected |
include_byok_in_limit | boolean | No | — | Whether to include BYOK usage in the limit | |
limit | number | null | No | — | Optional spending limit for the API key in USD |
limit_reset | string | null | No | — | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. |
name | string | Yes | — | Name for the new API key | |
workspace_id | string | No | — | The workspace to create the API key in. Defaults to the default workspace if not provided. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"creator_user_id": {
"type": [
"string",
"null"
],
"description": "Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key."
},
"expires_at": {
"type": [
"string",
"null"
],
"description": "Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected"
},
"include_byok_in_limit": {
"type": "boolean",
"description": "Whether to include BYOK usage in the limit"
},
"limit": {
"type": [
"number",
"null"
],
"description": "Optional spending limit for the API key in USD"
},
"limit_reset": {
"type": [
"string",
"null"
],
"description": "Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.",
"enum": [
"daily",
"weekly",
"monthly"
]
},
"name": {
"type": "string",
"description": "Name for the new API key"
},
"workspace_id": {
"type": "string",
"description": "The workspace to create the API key in. Defaults to the default workspace if not provided."
}
},
"required": [
"PCID",
"name"
]
}
openrouter_admin_create_workspace
Create a workspace Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
default_image_model | string | null | No | — | Default image model for this workspace |
default_provider_sort | string | null | No | — | Default provider sort preference (price, throughput, latency, exacto) |
default_text_model | string | null | No | — | Default text model for this workspace |
description | string | null | No | — | Description of the workspace |
io_logging_api_key_ids | integer[] | No | — | Optional array of API key IDs to filter I/O logging | |
io_logging_sampling_rate | number | No | — | Sampling rate for I/O logging (0.0001-1) | |
is_data_discount_logging_enabled | boolean | No | — | Whether data discount logging is enabled | |
is_observability_broadcast_enabled | boolean | No | — | Whether broadcast is enabled | |
is_observability_io_logging_enabled | boolean | No | — | Whether private logging is enabled | |
name | string | Yes | — | Name for the new workspace | |
slug | string | Yes | — | URL-friendly slug (lowercase alphanumeric and hyphens only) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"default_image_model": {
"type": [
"string",
"null"
],
"description": "Default image model for this workspace"
},
"default_provider_sort": {
"type": [
"string",
"null"
],
"description": "Default provider sort preference (price, throughput, latency, exacto)"
},
"default_text_model": {
"type": [
"string",
"null"
],
"description": "Default text model for this workspace"
},
"description": {
"type": [
"string",
"null"
],
"description": "Description of the workspace"
},
"io_logging_api_key_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Optional array of API key IDs to filter I/O logging"
},
"io_logging_sampling_rate": {
"type": "number",
"description": "Sampling rate for I/O logging (0.0001-1)"
},
"is_data_discount_logging_enabled": {
"type": "boolean",
"description": "Whether data discount logging is enabled"
},
"is_observability_broadcast_enabled": {
"type": "boolean",
"description": "Whether broadcast is enabled"
},
"is_observability_io_logging_enabled": {
"type": "boolean",
"description": "Whether private logging is enabled"
},
"name": {
"type": "string",
"description": "Name for the new workspace"
},
"slug": {
"type": "string",
"description": "URL-friendly slug (lowercase alphanumeric and hyphens only)"
}
},
"required": [
"PCID",
"name",
"slug"
]
}
openrouter_admin_delete_guardrail
Delete a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail to delete |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail to delete"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_delete_keys
Delete an API key Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
hash | string | Yes | — | The hash identifier of the API key to delete |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"hash": {
"type": "string",
"description": "The hash identifier of the API key to delete"
}
},
"required": [
"PCID",
"hash"
]
}
openrouter_admin_delete_workspace
Delete a workspace Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The workspace ID (UUID) or slug |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The workspace ID (UUID) or slug"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_get_credits
Get remaining credits Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
}
},
"required": [
"PCID"
]
}
openrouter_admin_get_current_key
Get current API key Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
}
},
"required": [
"PCID"
]
}
openrouter_admin_get_guardrail
Get a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail to retrieve |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail to retrieve"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_get_key
Get a single API key Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
hash | string | Yes | — | The hash identifier of the API key to retrieve |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"hash": {
"type": "string",
"description": "The hash identifier of the API key to retrieve"
}
},
"required": [
"PCID",
"hash"
]
}
openrouter_admin_get_user_activity
Get user activity grouped by endpoint Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
date | string | No | — | Filter by a single UTC date in the last 30 days (YYYY-MM-DD format). |
api_key_hash | string | No | — | Filter by API key hash (SHA-256 hex string, as returned by the keys API). |
user_id | string | No | — | Filter by org member user ID. Only applicable for organization accounts. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"date": {
"type": "string",
"description": "Filter by a single UTC date in the last 30 days (YYYY-MM-DD format)."
},
"api_key_hash": {
"type": "string",
"description": "Filter by API key hash (SHA-256 hex string, as returned by the keys API)."
},
"user_id": {
"type": "string",
"description": "Filter by org member user ID. Only applicable for organization accounts."
}
},
"required": [
"PCID"
]
}
openrouter_admin_get_workspace
Get a workspace Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The workspace ID (UUID) or slug |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The workspace ID (UUID) or slug"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_list_guardrail_key_assignments
List key assignments for a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_list_guardrail_member_assignments
List member assignments for a guardrail Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
id | string | Yes | — | The unique identifier of the guardrail |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail"
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_list_guardrails
List guardrails Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
workspace_id | string | No | — | Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
},
"workspace_id": {
"type": "string",
"description": "Filter guardrails by workspace ID. By default, guardrails in the default workspace are returned."
}
},
"required": [
"PCID"
]
}
openrouter_admin_list_key_assignments
List all key assignments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID"
]
}
openrouter_admin_list_keys
List API keys Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
include_disabled | boolean | No | — | Whether to include disabled API keys in the response |
offset | integer | No | — | Number of API keys to skip for pagination |
workspace_id | string | No | — | Filter API keys by workspace ID. By default, keys in the default workspace are returned. |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"include_disabled": {
"type": "boolean",
"description": "Whether to include disabled API keys in the response"
},
"offset": {
"type": "integer",
"description": "Number of API keys to skip for pagination"
},
"workspace_id": {
"type": "string",
"description": "Filter API keys by workspace ID. By default, keys in the default workspace are returned."
}
},
"required": [
"PCID"
]
}
openrouter_admin_list_member_assignments
List all member assignments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID"
]
}
openrouter_admin_list_organization_members
List organization members Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID"
]
}
openrouter_admin_list_workspaces
List workspaces Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. |
offset | integer | No | — | Number of records to skip for pagination |
limit | integer | No | — | Maximum number of records to return (max 100) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"offset": {
"type": "integer",
"description": "Number of records to skip for pagination"
},
"limit": {
"type": "integer",
"description": "Maximum number of records to return (max 100)"
}
},
"required": [
"PCID"
]
}
openrouter_admin_update_guardrail
Update a guardrail Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
id | string | Yes | — | The unique identifier of the guardrail to update | |
allowed_models | string[] | No | — | Array of model identifiers (slug or canonical_slug accepted) | |
allowed_providers | string[] | No | — | New list of allowed provider IDs | |
description | string | null | No | — | New description for the guardrail |
enforce_zdr | boolean | null | No | — | Whether to enforce zero data retention |
ignored_models | string[] | No | — | Array of model identifiers to exclude from routing (slug or canonical_slug accepted) | |
ignored_providers | string[] | No | — | List of provider IDs to exclude from routing | |
limit_usd | number | null | No | — | New spending limit in USD |
name | string | No | — | New name for the guardrail | |
reset_interval | string | null | No | — | Interval at which the limit resets (daily, weekly, monthly) |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The unique identifier of the guardrail to update"
},
"allowed_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of model identifiers (slug or canonical_slug accepted)"
},
"allowed_providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "New list of allowed provider IDs"
},
"description": {
"type": [
"string",
"null"
],
"description": "New description for the guardrail"
},
"enforce_zdr": {
"type": [
"boolean",
"null"
],
"description": "Whether to enforce zero data retention"
},
"ignored_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"
},
"ignored_providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of provider IDs to exclude from routing"
},
"limit_usd": {
"type": [
"number",
"null"
],
"description": "New spending limit in USD"
},
"name": {
"type": "string",
"description": "New name for the guardrail"
},
"reset_interval": {
"type": [
"string",
"null"
],
"description": "Interval at which the limit resets (daily, weekly, monthly)",
"enum": [
"daily",
"weekly",
"monthly"
]
}
},
"required": [
"PCID",
"id"
]
}
openrouter_admin_update_keys
Update an API key Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
hash | string | Yes | — | The hash identifier of the API key to update | |
disabled | boolean | No | — | Whether to disable the API key | |
include_byok_in_limit | boolean | No | — | Whether to include BYOK usage in the limit | |
limit | number | null | No | — | New spending limit for the API key in USD |
limit_reset | string | null | No | — | New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. |
name | string | No | — | New name for the API key |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"hash": {
"type": "string",
"description": "The hash identifier of the API key to update"
},
"disabled": {
"type": "boolean",
"description": "Whether to disable the API key"
},
"include_byok_in_limit": {
"type": "boolean",
"description": "Whether to include BYOK usage in the limit"
},
"limit": {
"type": [
"number",
"null"
],
"description": "New spending limit for the API key in USD"
},
"limit_reset": {
"type": [
"string",
"null"
],
"description": "New limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.",
"enum": [
"daily",
"weekly",
"monthly"
]
},
"name": {
"type": "string",
"description": "New name for the API key"
}
},
"required": [
"PCID",
"hash"
]
}
openrouter_admin_update_workspace
Update a workspace Parameters:| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
HTTP-Referer | string | No | — | The app identifier should be your app’s URL and is used as the primary identifier for rankings. This is used to track API usage per application. | |
X-OpenRouter-Title | string | No | — | The app display name allows you to customize how your app appears in OpenRouter’s dashboard. | |
X-OpenRouter-Categories | string | No | — | Comma-separated list of app categories (e.g. “cli-agent,cloud-agent”). Used for marketplace rankings. | |
id | string | Yes | — | The workspace ID (UUID) or slug | |
default_image_model | string | null | No | — | Default image model for this workspace |
default_provider_sort | string | null | No | — | Default provider sort preference (price, throughput, latency, exacto) |
default_text_model | string | null | No | — | Default text model for this workspace |
description | string | null | No | — | New description for the workspace |
io_logging_api_key_ids | integer[] | No | — | Optional array of API key IDs to filter I/O logging | |
io_logging_sampling_rate | number | No | — | Sampling rate for I/O logging (0.0001-1) | |
is_data_discount_logging_enabled | boolean | No | — | Whether data discount logging is enabled | |
is_observability_broadcast_enabled | boolean | No | — | Whether broadcast is enabled | |
is_observability_io_logging_enabled | boolean | No | — | Whether private logging is enabled | |
name | string | No | — | New name for the workspace | |
slug | string | No | — | New URL-friendly slug |
Show inputSchema
Show inputSchema
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID for the authenticated connection"
},
"HTTP-Referer": {
"type": "string",
"description": "The app identifier should be your app's URL and is used as the primary identifier for rankings. This is used to track API usage per application."
},
"X-OpenRouter-Title": {
"type": "string",
"description": "The app display name allows you to customize how your app appears in OpenRouter's dashboard."
},
"X-OpenRouter-Categories": {
"type": "string",
"description": "Comma-separated list of app categories (e.g. \"cli-agent,cloud-agent\"). Used for marketplace rankings."
},
"id": {
"type": "string",
"description": "The workspace ID (UUID) or slug"
},
"default_image_model": {
"type": [
"string",
"null"
],
"description": "Default image model for this workspace"
},
"default_provider_sort": {
"type": [
"string",
"null"
],
"description": "Default provider sort preference (price, throughput, latency, exacto)"
},
"default_text_model": {
"type": [
"string",
"null"
],
"description": "Default text model for this workspace"
},
"description": {
"type": [
"string",
"null"
],
"description": "New description for the workspace"
},
"io_logging_api_key_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Optional array of API key IDs to filter I/O logging"
},
"io_logging_sampling_rate": {
"type": "number",
"description": "Sampling rate for I/O logging (0.0001-1)"
},
"is_data_discount_logging_enabled": {
"type": "boolean",
"description": "Whether data discount logging is enabled"
},
"is_observability_broadcast_enabled": {
"type": "boolean",
"description": "Whether broadcast is enabled"
},
"is_observability_io_logging_enabled": {
"type": "boolean",
"description": "Whether private logging is enabled"
},
"name": {
"type": "string",
"description": "New name for the workspace"
},
"slug": {
"type": "string",
"description": "New URL-friendly slug"
}
},
"required": [
"PCID",
"id"
]
}

