curl --request GET \
--url https://api.fireworks.ai/v1/accounts/{account_id}/secrets \
--header 'Authorization: Bearer <token>'{
"secrets": [
{
"name": "<string>",
"keyName": "<string>",
"value": "sk-1234567890abcdef"
}
],
"nextPageToken": "<string>",
"totalSize": 123
}Lists all secrets for an account. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included for each secret.
curl --request GET \
--url https://api.fireworks.ai/v1/accounts/{account_id}/secrets \
--header 'Authorization: Bearer <token>'{
"secrets": [
{
"name": "<string>",
"keyName": "<string>",
"value": "sk-1234567890abcdef"
}
],
"nextPageToken": "<string>",
"totalSize": 123
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
Unused but required to use existing ListRequest functionality.
Unused but required to use existing ListRequest functionality.
The fields to be returned in the response. If empty or "*", all fields will be returned.
A successful response.
Show child attributes
The total number of secrets.
Was this page helpful?