For AI agents: this page in Markdown: https://www.pubnub.com/docs/admin-api/get-keyset-configuration.md. Documentation index: https://www.pubnub.com/llms-full.txt.
Get keyset configuration
GET/v2/keysets/:id/config
Retrieves the complete configuration for a specific keyset, including the default values. A setting that was never set is reported with its platform default, so no setting that has a default is null. Push notification credentials are not part of the configuration: they are uploaded with the FCM and APNs upload operations and cannot be read back.
Request
Example
{
"accessManager": {
"enabled": false,
"tokenRevoke": false
},
"files": {
"enabled": false,
"region": "string",
"retention": 0
},
"streamController": {
"enabled": false,
"wildcardSubscribe": false,
"channelGroupLimit": 0
},
"appContext": {
"enabled": false,
"userMetadataEvents": false,
"channelMetadataEvents": false,
"membershipEvents": false,
"disallowGetAllChannelMetadata": false,
"disallowGetAllUserMetadata": false,
"referentialIntegrity": false,
"region": "string"
},
"dataSync": {
"enabled": false,
"region": "string"
},
"messagePersistence": {
"enabled": false,
"includePresenceEvents": false,
"deleteFromHistory": false,
"retention": 0
},
"presence": {
"enabled": false,
"deltas": false,
"generateLeaveOnDisconnect": false,
"streamFiltering": false,
"activeNoticeChannel": "string",
"announceMax": 0,
"interval": 0,
"debounce": 0,
"enableLegacySDKTracking": false,
"rules": [
{
"pattern": "string",
"tracking": {}
}
]
}
}Example
{
"statusCode": 0,
"error": "BadRequest",
"message": [
"string"
]
}Example
{
"statusCode": 0,
"error": "Unauthorized",
"message": [
"string"
]
}Example
{
"statusCode": 0,
"error": "Forbidden",
"message": [
"string"
]
}Example
{
"statusCode": 0,
"error": "NotFound",
"message": [
"string"
]
}Example
{
"statusCode": 0,
"error": "InternalError",
"message": [
"string"
]
}