curl --request POST \
--url https://api.enkryptai.com/redteam/model-health \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"target_model_configuration": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.1",
"testing_for": "Copilot",
"model_version": "v1",
"model_source": "https://together.ai",
"model_provider": "together",
"model_endpoint_url": "https://api.together.xyz/v1/chat/completions",
"model_api_key": "ABCDE12345678900",
"system_prompt": "",
"rate_per_min": 20,
"input_modalities": [
"text"
],
"output_modalities": [
"text"
],
"tools": [
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
]
}
}
'{
"status": "healthy",
"message": "Model health check completed successfully",
"data": {
"query": "What is the capital of India?",
"response": "The capital of India is New Delhi."
},
"error": "Error while checking model health"
}curl --request POST \
--url https://api.enkryptai.com/redteam/model-health \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"target_model_configuration": {
"model_name": "mistralai/Mistral-7B-Instruct-v0.1",
"testing_for": "Copilot",
"model_version": "v1",
"model_source": "https://together.ai",
"model_provider": "together",
"model_endpoint_url": "https://api.together.xyz/v1/chat/completions",
"model_api_key": "ABCDE12345678900",
"system_prompt": "",
"rate_per_min": 20,
"input_modalities": [
"text"
],
"output_modalities": [
"text"
],
"tools": [
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
]
}
}
'{
"status": "healthy",
"message": "Model health check completed successfully",
"data": {
"query": "What is the capital of India?",
"response": "The capital of India is New Delhi."
},
"error": "Error while checking model health"
}Show child attributes
"mistralai/Mistral-7B-Instruct-v0.1"
foundationModels, chatbotsAndCopilots, agents, URL "Copilot"
"v1"
"https://together.ai"
openai, together, huggingface, groq, azure_openai, anthropic, cohere, bedrock, gemini, ai21, fireworks, alibaba, portkey, deepseek, mistral, llama, openai_compatible, url, enkryptai, sierra, boxai, nutanix, xactly "together"
"https://api.together.xyz/v1/chat/completions"
"ABCDE12345678900"
""
< 100 won't enable async. > 100 will enable async mode. > 200 we can run boosted async (all tests in parallel). Default 20.
20
Types of input that the model can process
text, image, audio ["text"]Types of output that the model can generate
text ["text"]Array of tools available to the model
[
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
]Successful Response
healthy, unhealthy "Model health check completed successfully"
"Error while checking model health"