Platforms

List Platform Secrets

Retrieve a list of platform secrets

get
/v1/platform/secret/list

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

cursorstring

The cursor to use for pagination

orderstring

The order of the paginated items

takeinteger

The number of items to retrieve

metaobject

Key-value pairs to filter the partner users by metadata

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.platform.secret.list(

)
{
"items":[
{
"name":"string",
"description":"string",
"meta":"object",
"id":"string",
"createdAt":"number",
"updatedAt":"number",
"type":"string",
"config":"object",
"icon":"string",
"tags":[
"string"
],
"setup":"string",
"commentary":"string"
}
]
}
The list of secrets was retrieved successfully