curl --request GET \
--url https://api.fireworks.ai/v1/accounts/{account_id}/secrets/{secret_id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"keyName": "<string>",
"value": "sk-1234567890abcdef"
}Retrieves a secret by name. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included.
curl --request GET \
--url https://api.fireworks.ai/v1/accounts/{account_id}/secrets/{secret_id} \
--header 'Authorization: Bearer <token>'{
"name": "<string>",
"keyName": "<string>",
"value": "sk-1234567890abcdef"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The fields to be returned in the response. If empty or "*", all fields will be returned.
A successful response.
Was this page helpful?