List secrets
GET/ai/secrets
Retrieve a list of all secrets configured by the user.
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/ai/secrets' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"id": "string",
"name": "string",
"value": "*****",
"created_at": "2024-07-29T15:51:28.071Z"
}
]
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}