Introduction
Models API Documentation
Welcome to the Models API documentation. This guide provides comprehensive information to help you integrate and utilize our APIs for easily saving and managing models in Enkrypt.
Purpose
The Models API is designed to help you save models in Enkrypt for usage in our Redteam, Datasets and other APIs. By leveraging this API, you can seamlessly store your models so that you can reuse them across different services we offer.
Offered APIs
Our API suite includes the following endpoints:
-
add-model: This endpoint allows you to save a new model for future use.
-
get-model: This endpoint retrieves a saved model.
- Option to refresh the cache if current data is outdated.
-
modify-model: This endpoint enables you to update a saved model.
-
delete-model: This endpoint allows you to delete a saved model.
-
list-models: This endpoint lists all saved models.
-
get-defaults: This endpoint retrieves the default values for the models API for various supported providers.
Obtaining an API Key
To get started with the Models API, you need to obtain an API key. Follow these steps:
- Login: Access your account at app.enkryptai.com.
- Get API Key: Navigate to the API section to get your unique API key.
- Authentication: Use this API key in the authorization headers of your leaderboard API calls.
By following these steps, you can seamlessly integrate the Models API into your enterprise applications.
We are committed to helping you maintain the highest standards of safety in your language models. Should you have any questions or require further assistance, our support team is readily available to assist you.
Let’s ensure safer AI together!