cURL
curl --request GET \ --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/security/secrets \ --header 'Authorization: Bearer <token>'
{ "openaiApiKey": { "value": "some secret api key" }, "allowedModels": { "value": [ "gpt4", "gpt4o" ] } }
Fetch workspace’s secrets
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace id
Success Response
The response is of type object.
object
Was this page helpful?