List secret sets
Updated
Retrieves the secret sets in your project and their key names.
Preview documentation
https://preview.ai.agora.io/conversational-ai/v1/projects/{appid}/secretsappidstringThe App ID of your project.
limitintegerThe maximum number of secret sets to return on each page.
cursorstringThe next_cursor value from the previous page of results. Omit it to get the first page. The cursor is opaque, so pass it back unchanged.
orderstringThe sort order of the results:
create_ts.desc: Newest first.create_ts.asc: Oldest first.
Response Body
The request was successful. The response body contains a page of secret sets. Secret values are never returned.
Response Headers
dataobjectcountintegerThe number of secret sets on this page.
listarray<object>The secret sets on this page.
namestringThe name of the secret set.
keysarray<string>The names of the keys in the set. Values are never returned.
create_tsintegerThe time the set was created, as a Unix timestamp in seconds.
update_tsintegerThe time the set was last updated, as a Unix timestamp in seconds.
has_morebooleanWhether more results are available after this page.
next_cursorstring | nullThe cursor for the next page. Pass it in the cursor query parameter of your next request. null on the last page.
Request examples
curl -X GET 'https://preview.ai.agora.io/conversational-ai/v1/projects/string/secrets'Response example
{ "data": { "count": 1, "list": [ { "name": "support_prod", "keys": [ "llm" ], "create_ts": 1789898400, "update_ts": 1790000000 } ] }, "has_more": false, "next_cursor": null}