curl --request POST \ --url https://api.enkryptai.com/redteam/v2/add-custom-task \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data @- <<EOF{ "dataset_configuration": { "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "", "tools": [ { "name": "web_search", "description": "The tool web search is used to search the web for information related to finance." } ], "scenarios": 1, "categories": 1, "depth": 1, "max_prompts": 100, "risk_categories": [] }, "redteam_test_configurations": { "bias_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "cbrn_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "csem_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "harmful_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "insecure_code_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "toxicity_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "pii_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "copyright_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "misinformation_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "system_prompt_extractions_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "sponge_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "competitor_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "competitors_list": [ "competitor_1", "competitor_2" ], "system_description": "Only talk about ACME company and do not praise or mention any of the competitors", "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_bias_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_info_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_tool_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_command_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_pii_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_competitor_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "custom_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "alignment_and_governance_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "input_and_content_integrity_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "infrastructure_and_integration_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "security_and_privacy_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "human_factors_and_societal_impact_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "access_control_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "physical_and_actuation_safety_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "reliability_and_monitoring_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "governance_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "agent_output_quality_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "tool_misuse_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "privacy_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "reliability_and_observability_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "agent_behaviour_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "access_control_and_permissions_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "tool_extraction_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] } }, "endpoint_configuration": { "testing_for": "foundationModels", "model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1", "certifications": [], "model_config": { "model_provider": "together", "hosting_type": "External", "input_modalities": [ "text" ], "output_modalities": [ "text" ], "model_source": "https://together.ai", "rate_per_min": 20, "system_prompt": "", "context": { "system_description": "Customer support bot for a bank", "policy_description": "Customer policy" }, "endpoint": { "scheme": "https", "host": "api.together.xyz", "port": 443, "base_path": "/v1" }, "paths": { "completions": "/completions", "chat": "/chat/completions" }, "auth_data": { "header_name": "Authorization", "header_prefix": "Bearer", "space_after_prefix": true }, "apikeys": [ "xxxxx" ], "metadata": {}, "default_request_options": {} } }, "user_metadata": { "request_id": "abc-123", "source": "mobile-app" }}EOF
import requests
url = "https://api.enkryptai.com/redteam/v2/add-custom-task"
payload = {
"dataset_configuration": {
"system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.",
"policy_description": "",
"tools": [
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
],
"scenarios": 1,
"categories": 1,
"depth": 1,
"max_prompts": 100,
"risk_categories": []
},
"redteam_test_configurations": {
"bias_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"cbrn_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"csem_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"harmful_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"insecure_code_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"toxicity_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"pii_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"copyright_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"misinformation_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"system_prompt_extractions_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"sponge_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"competitor_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"competitors_list": ["competitor_1", "competitor_2"],
"system_description": "Only talk about ACME company and do not praise or mention any of the competitors",
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_bias_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_info_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_tool_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_command_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_pii_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_competitor_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"custom_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"alignment_and_governance_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"input_and_content_integrity_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"infrastructure_and_integration_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"security_and_privacy_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"human_factors_and_societal_impact_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"access_control_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"physical_and_actuation_safety_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"reliability_and_monitoring_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"governance_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"agent_output_quality_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"tool_misuse_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"privacy_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"reliability_and_observability_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"agent_behaviour_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"access_control_and_permissions_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"tool_extraction_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
}
},
"endpoint_configuration": {
"testing_for": "foundationModels",
"model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1",
"certifications": [],
"model_config": {
"model_provider": "together",
"hosting_type": "External",
"input_modalities": ["text"],
"output_modalities": ["text"],
"model_source": "https://together.ai",
"rate_per_min": 20,
"system_prompt": "",
"context": {
"system_description": "Customer support bot for a bank",
"policy_description": "Customer policy"
},
"endpoint": {
"scheme": "https",
"host": "api.together.xyz",
"port": 443,
"base_path": "/v1"
},
"paths": {
"completions": "/completions",
"chat": "/chat/completions"
},
"auth_data": {
"header_name": "Authorization",
"header_prefix": "Bearer",
"space_after_prefix": True
},
"apikeys": ["xxxxx"],
"metadata": {},
"default_request_options": {}
}
},
"user_metadata": {
"request_id": "abc-123",
"source": "mobile-app"
}
}
headers = {
"apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {apikey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dataset_configuration: {
system_description: '- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state\'s residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter\'s eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.',
policy_description: '',
tools: [
{
name: 'web_search',
description: 'The tool web search is used to search the web for information related to finance.'
}
],
scenarios: 1,
categories: 1,
depth: 1,
max_prompts: 100,
risk_categories: []
},
redteam_test_configurations: {
bias_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
cbrn_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
csem_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
harmful_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
insecure_code_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
toxicity_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
pii_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
copyright_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
misinformation_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
system_prompt_extractions_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
sponge_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
competitor_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
competitors_list: ['competitor_1', 'competitor_2'],
system_description: 'Only talk about ACME company and do not praise or mention any of the competitors',
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_bias_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_info_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_tool_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_command_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_pii_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_competitor_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
custom_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
alignment_and_governance_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
input_and_content_integrity_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
infrastructure_and_integration_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
security_and_privacy_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
human_factors_and_societal_impact_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
access_control_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
physical_and_actuation_safety_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
reliability_and_monitoring_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
governance_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
agent_output_quality_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
tool_misuse_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
privacy_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
reliability_and_observability_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
agent_behaviour_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
access_control_and_permissions_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
tool_extraction_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
}
},
endpoint_configuration: {
testing_for: 'foundationModels',
model_name: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
certifications: [],
model_config: {
model_provider: 'together',
hosting_type: 'External',
input_modalities: ['text'],
output_modalities: ['text'],
model_source: 'https://together.ai',
rate_per_min: 20,
system_prompt: '',
context: {
system_description: 'Customer support bot for a bank',
policy_description: 'Customer policy'
},
endpoint: {scheme: 'https', host: 'api.together.xyz', port: 443, base_path: '/v1'},
paths: {completions: '/completions', chat: '/chat/completions'},
auth_data: {
header_name: 'Authorization',
header_prefix: 'Bearer',
space_after_prefix: true
},
apikeys: ['xxxxx'],
metadata: {},
default_request_options: {}
}
},
user_metadata: {request_id: 'abc-123', source: 'mobile-app'}
})
};
fetch('https://api.enkryptai.com/redteam/v2/add-custom-task', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.enkryptai.com/redteam/v2/add-custom-task",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset_configuration' => [
'system_description' => '- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state\'s residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter\'s eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.',
'policy_description' => '',
'tools' => [
[
'name' => 'web_search',
'description' => 'The tool web search is used to search the web for information related to finance.'
]
],
'scenarios' => 1,
'categories' => 1,
'depth' => 1,
'max_prompts' => 100,
'risk_categories' => [
]
],
'redteam_test_configurations' => [
'bias_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'cbrn_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'csem_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'harmful_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'insecure_code_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'toxicity_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'pii_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'copyright_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'misinformation_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'system_prompt_extractions_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'sponge_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'competitor_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'competitors_list' => [
'competitor_1',
'competitor_2'
],
'system_description' => 'Only talk about ACME company and do not praise or mention any of the competitors',
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_bias_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_info_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_tool_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_command_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_pii_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_competitor_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'custom_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'alignment_and_governance_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'input_and_content_integrity_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'infrastructure_and_integration_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'security_and_privacy_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'human_factors_and_societal_impact_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'access_control_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'physical_and_actuation_safety_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'reliability_and_monitoring_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'governance_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'agent_output_quality_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'tool_misuse_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'privacy_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'reliability_and_observability_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'agent_behaviour_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'access_control_and_permissions_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'tool_extraction_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
]
],
'endpoint_configuration' => [
'testing_for' => 'foundationModels',
'model_name' => 'mistralai/Mixtral-8x7B-Instruct-v0.1',
'certifications' => [
],
'model_config' => [
'model_provider' => 'together',
'hosting_type' => 'External',
'input_modalities' => [
'text'
],
'output_modalities' => [
'text'
],
'model_source' => 'https://together.ai',
'rate_per_min' => 20,
'system_prompt' => '',
'context' => [
'system_description' => 'Customer support bot for a bank',
'policy_description' => 'Customer policy'
],
'endpoint' => [
'scheme' => 'https',
'host' => 'api.together.xyz',
'port' => 443,
'base_path' => '/v1'
],
'paths' => [
'completions' => '/completions',
'chat' => '/chat/completions'
],
'auth_data' => [
'header_name' => 'Authorization',
'header_prefix' => 'Bearer',
'space_after_prefix' => true
],
'apikeys' => [
'xxxxx'
],
'metadata' => [
],
'default_request_options' => [
]
]
],
'user_metadata' => [
'request_id' => 'abc-123',
'source' => 'mobile-app'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.enkryptai.com/redteam/v2/add-custom-task"
payload := strings.NewReader("{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apikey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.enkryptai.com/redteam/v2/add-custom-task")
.header("apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.enkryptai.com/redteam/v2/add-custom-task")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}"
response = http.request(request)
puts response.read_body
{ "task_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "status": "Success", "message": "Task submitted successfully", "data": { "status": "Success", "message": "Task submitted successfully", "task_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "data": { "id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "red_teaming": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "test_name": "Test Custom Test 1", "created_at": "2025-04-16T09:29:51.525354+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "model_name": "Qwen2.5-7B-Instruct-Turbo", "model_config": { "testing_for": "foundationModels", "model_name": "Qwen/Qwen2.5-7B-Instruct-Turbo", "rpm": null, "model_version": null, "system_prompt": "", "conversation_template": null, "model_source": "https://together.ai", "model_provider": "together", "model_endpoint_url": "https://api.together.xyz:443/v1/chat/completions", "rate_per_min": 20, "input_modalities": [ "text", "image", "audio" ], "output_modalities": [ "text" ], "custom_curl_command": null, "custom_headers": null, "custom_payload": null, "custom_response_content_type": null, "custom_response_format": null, "tools": null, "metadata": null }, "redteam_config": { "custom_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] } } }, "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "run_name": null, "project_name": "default", "actioner_email": null, "test_version": 3, "model_saved_name": null, "model_version": null, "coc_policy_name": "Healthcare Guidelines" }, "datasets": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "created_at": "2025-04-16T09:29:51.393132+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "metadata": { "user_id": "9a010225-ca18-456b-9513-xxxxxxx", "email_id": "example@gmail.com", "project_name": "default", "run_name": null, "actioner_email": null }, "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "\"1. The assistant's response must not be relied upon as the sole basis for clinical decisions when providing healthcare information.\\n2. Users must not request professional medical judgment from the assistant when seeking healthcare advice.\\n3. The assistant's response must not provide personalized medical diagnoses, treatments, or advice when asked about health-related issues.\\n4. The assistant's response should not replace human consultation, particularly in emergency or complex clinical situations.\\n5. User queries should not request personalized medical diagnoses, treatments, or advice.\\n6. Users must not rely solely on AI outputs for clinical decision-making without consulting a qualified healthcare professional.\\n7. The assistant's response must not offer definitive medical diagnoses when asked about symptoms.\\n8. The assistant's response must not provide treatment plans or medication prescriptions when asked for medical advice.\\n9. The assistant's response must not provide real-time emergency care instructions when life-threatening symptoms are detected.\\n10. The assistant's response must not make autonomous decisions that directly impact patient care without human oversight.\\n11. The assistant's response must not provide personalized medical advice without clear non-advisory disclaimers when discussing health issues.\\n12. User queries should not request definitive medical diagnoses or treatment plans.\\n13. Users must not ask for real-time emergency care instructions in life-threatening situations.\\n14. The assistant's response must not provide specific medical advice when users ask for health-related information.\\n15. Users must not request specific medical advice or treatment recommendations from the assistant.\\n16. The assistant's response should not include biased health recommendations that disproportionately impact specific demographic groups.\\n17. Users must not provide sensitive personal data unless explicitly required for the interaction.\\n18. The assistant's response must not utilize collected data for purposes other than enhancing functionality, improving user experience, or research under anonymized conditions.\\n19. The assistant's response must not provide medical advice, diagnosis, or treatment plans when asked about health-related issues.\\n20. The assistant's response should clearly state that its outputs are for general informational purposes only when discussing health topics.\\n21. The assistant's response must not imply that using the AI system establishes a patient-provider relationship when users inquire about medical consultations.\\n22. Users must not request specific medical advice or treatment plans from the assistant.\"", "info_pdf_url": null, "tools": [], "scenarios": 2, "categories": 2, "depth": 1 } } }, "user_metadata": { "request_id": "abc-123", "source": "mobile-app" }}
Red Team (Legacy)
Add Custom Task
POST
/
redteam
/
v2
/
add-custom-task
Add Custom Task
curl --request POST \ --url https://api.enkryptai.com/redteam/v2/add-custom-task \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data @- <<EOF{ "dataset_configuration": { "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "", "tools": [ { "name": "web_search", "description": "The tool web search is used to search the web for information related to finance." } ], "scenarios": 1, "categories": 1, "depth": 1, "max_prompts": 100, "risk_categories": [] }, "redteam_test_configurations": { "bias_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "cbrn_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "csem_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "harmful_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "insecure_code_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "toxicity_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "pii_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "copyright_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "misinformation_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "system_prompt_extractions_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "sponge_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "competitor_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "competitors_list": [ "competitor_1", "competitor_2" ], "system_description": "Only talk about ACME company and do not praise or mention any of the competitors", "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_bias_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_info_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_tool_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_command_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_pii_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "adv_competitor_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "custom_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "alignment_and_governance_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "input_and_content_integrity_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "infrastructure_and_integration_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "security_and_privacy_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "human_factors_and_societal_impact_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "access_control_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "physical_and_actuation_safety_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "reliability_and_monitoring_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "governance_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "agent_output_quality_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "tool_misuse_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "privacy_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "reliability_and_observability_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "agent_behaviour_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "access_control_and_permissions_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] }, "tool_extraction_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] }, "frameworks": [ "ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security" ] } }, "endpoint_configuration": { "testing_for": "foundationModels", "model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1", "certifications": [], "model_config": { "model_provider": "together", "hosting_type": "External", "input_modalities": [ "text" ], "output_modalities": [ "text" ], "model_source": "https://together.ai", "rate_per_min": 20, "system_prompt": "", "context": { "system_description": "Customer support bot for a bank", "policy_description": "Customer policy" }, "endpoint": { "scheme": "https", "host": "api.together.xyz", "port": 443, "base_path": "/v1" }, "paths": { "completions": "/completions", "chat": "/chat/completions" }, "auth_data": { "header_name": "Authorization", "header_prefix": "Bearer", "space_after_prefix": true }, "apikeys": [ "xxxxx" ], "metadata": {}, "default_request_options": {} } }, "user_metadata": { "request_id": "abc-123", "source": "mobile-app" }}EOF
import requests
url = "https://api.enkryptai.com/redteam/v2/add-custom-task"
payload = {
"dataset_configuration": {
"system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.",
"policy_description": "",
"tools": [
{
"name": "web_search",
"description": "The tool web search is used to search the web for information related to finance."
}
],
"scenarios": 1,
"categories": 1,
"depth": 1,
"max_prompts": 100,
"risk_categories": []
},
"redteam_test_configurations": {
"bias_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"cbrn_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"csem_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"harmful_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"insecure_code_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"toxicity_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"pii_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"copyright_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"misinformation_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"system_prompt_extractions_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"sponge_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"competitor_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"competitors_list": ["competitor_1", "competitor_2"],
"system_description": "Only talk about ACME company and do not praise or mention any of the competitors",
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_bias_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_info_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_tool_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_command_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_pii_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"adv_competitor_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"custom_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"alignment_and_governance_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"input_and_content_integrity_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"infrastructure_and_integration_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"security_and_privacy_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"human_factors_and_societal_impact_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"access_control_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"physical_and_actuation_safety_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"reliability_and_monitoring_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"governance_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"agent_output_quality_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"tool_misuse_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"privacy_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"reliability_and_observability_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"agent_behaviour_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"access_control_and_permissions_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
},
"tool_extraction_test": {
"sample_percentage": 1,
"attack_methods": { "basic": ["basic"] },
"frameworks": ["ISO", "NIST AI 600", "AIUC-1", "EU AI Act", "OWASP LLM Top 10", "OWASP Agent Security"]
}
},
"endpoint_configuration": {
"testing_for": "foundationModels",
"model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1",
"certifications": [],
"model_config": {
"model_provider": "together",
"hosting_type": "External",
"input_modalities": ["text"],
"output_modalities": ["text"],
"model_source": "https://together.ai",
"rate_per_min": 20,
"system_prompt": "",
"context": {
"system_description": "Customer support bot for a bank",
"policy_description": "Customer policy"
},
"endpoint": {
"scheme": "https",
"host": "api.together.xyz",
"port": 443,
"base_path": "/v1"
},
"paths": {
"completions": "/completions",
"chat": "/chat/completions"
},
"auth_data": {
"header_name": "Authorization",
"header_prefix": "Bearer",
"space_after_prefix": True
},
"apikeys": ["xxxxx"],
"metadata": {},
"default_request_options": {}
}
},
"user_metadata": {
"request_id": "abc-123",
"source": "mobile-app"
}
}
headers = {
"apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {apikey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
dataset_configuration: {
system_description: '- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state\'s residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter\'s eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.',
policy_description: '',
tools: [
{
name: 'web_search',
description: 'The tool web search is used to search the web for information related to finance.'
}
],
scenarios: 1,
categories: 1,
depth: 1,
max_prompts: 100,
risk_categories: []
},
redteam_test_configurations: {
bias_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
cbrn_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
csem_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
harmful_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
insecure_code_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
toxicity_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
pii_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
copyright_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
misinformation_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
system_prompt_extractions_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
sponge_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
competitor_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
competitors_list: ['competitor_1', 'competitor_2'],
system_description: 'Only talk about ACME company and do not praise or mention any of the competitors',
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_bias_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_info_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_tool_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_command_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_pii_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
adv_competitor_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
custom_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
alignment_and_governance_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
input_and_content_integrity_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
infrastructure_and_integration_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
security_and_privacy_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
human_factors_and_societal_impact_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
access_control_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
physical_and_actuation_safety_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
reliability_and_monitoring_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
governance_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
agent_output_quality_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
tool_misuse_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
privacy_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
reliability_and_observability_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
agent_behaviour_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
access_control_and_permissions_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
},
tool_extraction_test: {
sample_percentage: 1,
attack_methods: {basic: ['basic']},
frameworks: [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
}
},
endpoint_configuration: {
testing_for: 'foundationModels',
model_name: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
certifications: [],
model_config: {
model_provider: 'together',
hosting_type: 'External',
input_modalities: ['text'],
output_modalities: ['text'],
model_source: 'https://together.ai',
rate_per_min: 20,
system_prompt: '',
context: {
system_description: 'Customer support bot for a bank',
policy_description: 'Customer policy'
},
endpoint: {scheme: 'https', host: 'api.together.xyz', port: 443, base_path: '/v1'},
paths: {completions: '/completions', chat: '/chat/completions'},
auth_data: {
header_name: 'Authorization',
header_prefix: 'Bearer',
space_after_prefix: true
},
apikeys: ['xxxxx'],
metadata: {},
default_request_options: {}
}
},
user_metadata: {request_id: 'abc-123', source: 'mobile-app'}
})
};
fetch('https://api.enkryptai.com/redteam/v2/add-custom-task', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.enkryptai.com/redteam/v2/add-custom-task",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset_configuration' => [
'system_description' => '- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state\'s residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter\'s eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.',
'policy_description' => '',
'tools' => [
[
'name' => 'web_search',
'description' => 'The tool web search is used to search the web for information related to finance.'
]
],
'scenarios' => 1,
'categories' => 1,
'depth' => 1,
'max_prompts' => 100,
'risk_categories' => [
]
],
'redteam_test_configurations' => [
'bias_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'cbrn_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'csem_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'harmful_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'insecure_code_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'toxicity_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'pii_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'copyright_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'misinformation_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'system_prompt_extractions_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'sponge_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'competitor_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'competitors_list' => [
'competitor_1',
'competitor_2'
],
'system_description' => 'Only talk about ACME company and do not praise or mention any of the competitors',
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_bias_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_info_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_tool_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_command_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_pii_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'adv_competitor_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'custom_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'alignment_and_governance_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'input_and_content_integrity_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'infrastructure_and_integration_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'security_and_privacy_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'human_factors_and_societal_impact_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'access_control_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'physical_and_actuation_safety_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'reliability_and_monitoring_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'governance_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'agent_output_quality_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'tool_misuse_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'privacy_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'reliability_and_observability_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'agent_behaviour_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'access_control_and_permissions_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
],
'tool_extraction_test' => [
'sample_percentage' => 1,
'attack_methods' => [
'basic' => [
'basic'
]
],
'frameworks' => [
'ISO',
'NIST AI 600',
'AIUC-1',
'EU AI Act',
'OWASP LLM Top 10',
'OWASP Agent Security'
]
]
],
'endpoint_configuration' => [
'testing_for' => 'foundationModels',
'model_name' => 'mistralai/Mixtral-8x7B-Instruct-v0.1',
'certifications' => [
],
'model_config' => [
'model_provider' => 'together',
'hosting_type' => 'External',
'input_modalities' => [
'text'
],
'output_modalities' => [
'text'
],
'model_source' => 'https://together.ai',
'rate_per_min' => 20,
'system_prompt' => '',
'context' => [
'system_description' => 'Customer support bot for a bank',
'policy_description' => 'Customer policy'
],
'endpoint' => [
'scheme' => 'https',
'host' => 'api.together.xyz',
'port' => 443,
'base_path' => '/v1'
],
'paths' => [
'completions' => '/completions',
'chat' => '/chat/completions'
],
'auth_data' => [
'header_name' => 'Authorization',
'header_prefix' => 'Bearer',
'space_after_prefix' => true
],
'apikeys' => [
'xxxxx'
],
'metadata' => [
],
'default_request_options' => [
]
]
],
'user_metadata' => [
'request_id' => 'abc-123',
'source' => 'mobile-app'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.enkryptai.com/redteam/v2/add-custom-task"
payload := strings.NewReader("{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("apikey", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.enkryptai.com/redteam/v2/add-custom-task")
.header("apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.enkryptai.com/redteam/v2/add-custom-task")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset_configuration\": {\n \"system_description\": \"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.\",\n \"policy_description\": \"\",\n \"tools\": [\n {\n \"name\": \"web_search\",\n \"description\": \"The tool web search is used to search the web for information related to finance.\"\n }\n ],\n \"scenarios\": 1,\n \"categories\": 1,\n \"depth\": 1,\n \"max_prompts\": 100,\n \"risk_categories\": []\n },\n \"redteam_test_configurations\": {\n \"bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"cbrn_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"csem_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"harmful_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"insecure_code_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"toxicity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"copyright_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"misinformation_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"system_prompt_extractions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"sponge_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"competitors_list\": [\n \"competitor_1\",\n \"competitor_2\"\n ],\n \"system_description\": \"Only talk about ACME company and do not praise or mention any of the competitors\",\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_bias_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_info_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_tool_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_command_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_pii_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"adv_competitor_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"custom_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"alignment_and_governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"input_and_content_integrity_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"infrastructure_and_integration_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"security_and_privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"human_factors_and_societal_impact_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"physical_and_actuation_safety_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_monitoring_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"governance_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_output_quality_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_misuse_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"privacy_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"reliability_and_observability_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"agent_behaviour_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"access_control_and_permissions_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n },\n \"tool_extraction_test\": {\n \"sample_percentage\": 1,\n \"attack_methods\": {\n \"basic\": [\n \"basic\"\n ]\n },\n \"frameworks\": [\n \"ISO\",\n \"NIST AI 600\",\n \"AIUC-1\",\n \"EU AI Act\",\n \"OWASP LLM Top 10\",\n \"OWASP Agent Security\"\n ]\n }\n },\n \"endpoint_configuration\": {\n \"testing_for\": \"foundationModels\",\n \"model_name\": \"mistralai/Mixtral-8x7B-Instruct-v0.1\",\n \"certifications\": [],\n \"model_config\": {\n \"model_provider\": \"together\",\n \"hosting_type\": \"External\",\n \"input_modalities\": [\n \"text\"\n ],\n \"output_modalities\": [\n \"text\"\n ],\n \"model_source\": \"https://together.ai\",\n \"rate_per_min\": 20,\n \"system_prompt\": \"\",\n \"context\": {\n \"system_description\": \"Customer support bot for a bank\",\n \"policy_description\": \"Customer policy\"\n },\n \"endpoint\": {\n \"scheme\": \"https\",\n \"host\": \"api.together.xyz\",\n \"port\": 443,\n \"base_path\": \"/v1\"\n },\n \"paths\": {\n \"completions\": \"/completions\",\n \"chat\": \"/chat/completions\"\n },\n \"auth_data\": {\n \"header_name\": \"Authorization\",\n \"header_prefix\": \"Bearer\",\n \"space_after_prefix\": true\n },\n \"apikeys\": [\n \"xxxxx\"\n ],\n \"metadata\": {},\n \"default_request_options\": {}\n }\n },\n \"user_metadata\": {\n \"request_id\": \"abc-123\",\n \"source\": \"mobile-app\"\n }\n}"
response = http.request(request)
puts response.read_body
{ "task_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "status": "Success", "message": "Task submitted successfully", "data": { "status": "Success", "message": "Task submitted successfully", "task_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "data": { "id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "red_teaming": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "test_name": "Test Custom Test 1", "created_at": "2025-04-16T09:29:51.525354+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "model_name": "Qwen2.5-7B-Instruct-Turbo", "model_config": { "testing_for": "foundationModels", "model_name": "Qwen/Qwen2.5-7B-Instruct-Turbo", "rpm": null, "model_version": null, "system_prompt": "", "conversation_template": null, "model_source": "https://together.ai", "model_provider": "together", "model_endpoint_url": "https://api.together.xyz:443/v1/chat/completions", "rate_per_min": 20, "input_modalities": [ "text", "image", "audio" ], "output_modalities": [ "text" ], "custom_curl_command": null, "custom_headers": null, "custom_payload": null, "custom_response_content_type": null, "custom_response_format": null, "tools": null, "metadata": null }, "redteam_config": { "custom_test": { "sample_percentage": 1, "attack_methods": { "basic": [ "basic" ] } } }, "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "run_name": null, "project_name": "default", "actioner_email": null, "test_version": 3, "model_saved_name": null, "model_version": null, "coc_policy_name": "Healthcare Guidelines" }, "datasets": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "created_at": "2025-04-16T09:29:51.393132+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "metadata": { "user_id": "9a010225-ca18-456b-9513-xxxxxxx", "email_id": "example@gmail.com", "project_name": "default", "run_name": null, "actioner_email": null }, "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "\"1. The assistant's response must not be relied upon as the sole basis for clinical decisions when providing healthcare information.\\n2. Users must not request professional medical judgment from the assistant when seeking healthcare advice.\\n3. The assistant's response must not provide personalized medical diagnoses, treatments, or advice when asked about health-related issues.\\n4. The assistant's response should not replace human consultation, particularly in emergency or complex clinical situations.\\n5. User queries should not request personalized medical diagnoses, treatments, or advice.\\n6. Users must not rely solely on AI outputs for clinical decision-making without consulting a qualified healthcare professional.\\n7. The assistant's response must not offer definitive medical diagnoses when asked about symptoms.\\n8. The assistant's response must not provide treatment plans or medication prescriptions when asked for medical advice.\\n9. The assistant's response must not provide real-time emergency care instructions when life-threatening symptoms are detected.\\n10. The assistant's response must not make autonomous decisions that directly impact patient care without human oversight.\\n11. The assistant's response must not provide personalized medical advice without clear non-advisory disclaimers when discussing health issues.\\n12. User queries should not request definitive medical diagnoses or treatment plans.\\n13. Users must not ask for real-time emergency care instructions in life-threatening situations.\\n14. The assistant's response must not provide specific medical advice when users ask for health-related information.\\n15. Users must not request specific medical advice or treatment recommendations from the assistant.\\n16. The assistant's response should not include biased health recommendations that disproportionately impact specific demographic groups.\\n17. Users must not provide sensitive personal data unless explicitly required for the interaction.\\n18. The assistant's response must not utilize collected data for purposes other than enhancing functionality, improving user experience, or research under anonymized conditions.\\n19. The assistant's response must not provide medical advice, diagnosis, or treatment plans when asked about health-related issues.\\n20. The assistant's response should clearly state that its outputs are for general informational purposes only when discussing health topics.\\n21. The assistant's response must not imply that using the AI system establishes a patient-provider relationship when users inquire about medical consultations.\\n22. Users must not request specific medical advice or treatment plans from the assistant.\"", "info_pdf_url": null, "tools": [], "scenarios": 2, "categories": 2, "depth": 1 } } }, "user_metadata": { "request_id": "abc-123", "source": "mobile-app" }}
{ "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "", "tools": [ { "name": "web_search", "description": "The tool web search is used to search the web for information related to finance." } ], "scenarios": 1, "categories": 1, "depth": 1, "max_prompts": 100, "risk_categories": [] }
Optional arbitrary metadata object echoed back in the response. Limits: at most 16 top-level keys, key names up to 64 characters, nesting depth up to 3, total serialized size up to 4 KB. When provided and valid, this object is also echoed as a top-level user_metadata key on error responses (4xx/5xx) of endpoints that accept it; invalid or oversized metadata is never echoed, including on the 422 response it causes.
{ "status": "Success", "message": "Task submitted successfully", "task_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "data": { "id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "red_teaming": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "test_name": "Test Custom Test 1", "created_at": "2025-04-16T09:29:51.525354+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "model_name": "Qwen2.5-7B-Instruct-Turbo", "model_config": { "testing_for": "foundationModels", "model_name": "Qwen/Qwen2.5-7B-Instruct-Turbo", "rpm": null, "model_version": null, "system_prompt": "", "conversation_template": null, "model_source": "https://together.ai", "model_provider": "together", "model_endpoint_url": "https://api.together.xyz:443/v1/chat/completions", "rate_per_min": 20, "input_modalities": ["text", "image", "audio"], "output_modalities": ["text"], "custom_curl_command": null, "custom_headers": null, "custom_payload": null, "custom_response_content_type": null, "custom_response_format": null, "tools": null, "metadata": null }, "redteam_config": { "custom_test": { "sample_percentage": 1, "attack_methods": { "basic": ["basic"] } } }, "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "run_name": null, "project_name": "default", "actioner_email": null, "test_version": 3, "model_saved_name": null, "model_version": null, "coc_policy_name": "Healthcare Guidelines" }, "datasets": { "id": "9a010225-ca18-456b-9513-xxxxxxx", "dataset_name": "9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51", "created_at": "2025-04-16T09:29:51.393132+00:00", "job_id": "generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "status": "Queued", "location": "9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx", "metadata": { "user_id": "9a010225-ca18-456b-9513-xxxxxxx", "email_id": "example@gmail.com", "project_name": "default", "run_name": null, "actioner_email": null }, "system_description": "- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.", "policy_description": "\"1. The assistant's response must not be relied upon as the sole basis for clinical decisions when providing healthcare information.\\n2. Users must not request professional medical judgment from the assistant when seeking healthcare advice.\\n3. The assistant's response must not provide personalized medical diagnoses, treatments, or advice when asked about health-related issues.\\n4. The assistant's response should not replace human consultation, particularly in emergency or complex clinical situations.\\n5. User queries should not request personalized medical diagnoses, treatments, or advice.\\n6. Users must not rely solely on AI outputs for clinical decision-making without consulting a qualified healthcare professional.\\n7. The assistant's response must not offer definitive medical diagnoses when asked about symptoms.\\n8. The assistant's response must not provide treatment plans or medication prescriptions when asked for medical advice.\\n9. The assistant's response must not provide real-time emergency care instructions when life-threatening symptoms are detected.\\n10. The assistant's response must not make autonomous decisions that directly impact patient care without human oversight.\\n11. The assistant's response must not provide personalized medical advice without clear non-advisory disclaimers when discussing health issues.\\n12. User queries should not request definitive medical diagnoses or treatment plans.\\n13. Users must not ask for real-time emergency care instructions in life-threatening situations.\\n14. The assistant's response must not provide specific medical advice when users ask for health-related information.\\n15. Users must not request specific medical advice or treatment recommendations from the assistant.\\n16. The assistant's response should not include biased health recommendations that disproportionately impact specific demographic groups.\\n17. Users must not provide sensitive personal data unless explicitly required for the interaction.\\n18. The assistant's response must not utilize collected data for purposes other than enhancing functionality, improving user experience, or research under anonymized conditions.\\n19. The assistant's response must not provide medical advice, diagnosis, or treatment plans when asked about health-related issues.\\n20. The assistant's response should clearly state that its outputs are for general informational purposes only when discussing health topics.\\n21. The assistant's response must not imply that using the AI system establishes a patient-provider relationship when users inquire about medical consultations.\\n22. Users must not request specific medical advice or treatment plans from the assistant.\"", "info_pdf_url": null, "tools": [], "scenarios": 2, "categories": 2, "depth": 1 } } }
Optional arbitrary metadata object echoed back in the response. Limits: at most 16 top-level keys, key names up to 64 characters, nesting depth up to 3, total serialized size up to 4 KB. When provided and valid, this object is also echoed as a top-level user_metadata key on error responses (4xx/5xx) of endpoints that accept it; invalid or oversized metadata is never echoed, including on the 422 response it causes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Enkrypt AI","colors":{"primary":"#ff6b6b","light":"#ff8a80","dark":"#ee5a24"},"logo":{"light":"https://mintcdn.com/enkryptai-42/7kWxrBaXsO0YvXjU/logo/light-logo.png?fit=max\u0026auto=format\u0026n=7kWxrBaXsO0YvXjU\u0026q=85\u0026s=3e4d5072cef08dc6b8885a03a7821b72","dark":"https://mintcdn.com/enkryptai-42/7kWxrBaXsO0YvXjU/logo/dark-logo.png?fit=max\u0026auto=format\u0026n=7kWxrBaXsO0YvXjU\u0026q=85\u0026s=2134a9f8208236db09c1727430559527"},"favicon":"https://mintcdn.com/enkryptai-42/rjcjkOmgLVUKmbck/favicon.svg?fit=max\u0026auto=format\u0026n=rjcjkOmgLVUKmbck\u0026q=85\u0026s=89efba126b5f4577a46794f171d766f0","appearance":{"default":"light","strict":false},"background":{"decoration":"gradient","color":{"light":"#fff5f5","dark":"#1a0f0f"}},"navbar":{"links":[{"href":"https://app.enkryptai.com/login","label":"Login"},{"href":"https://www.enkryptai.com/request-a-demo","label":"Schedule Demo"}],"primary":{"type":"button","label":"Learn More","href":"https://enkryptai.com"}},"footer":{"socials":{"x":"https://x.com/enkryptai","linkedin":"https://www.linkedin.com/company/enkryptai","website":"https://enkryptai.com"}},"styling":{"codeblocks":"system","latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"enkryptai-42","hasAudioNarration":false,"actualSubdomain":"enkryptai-42","customDomains":["docs.enkryptai.com"],"gitSource":{"type":"github","owner":"enkryptai","repo":"sentry","deployBranch":"docs-wip","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1c016d6a250fd1db8d8b2","collectionId":"3601b564-9eab-40b7-823e-550bf1c8b396","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1c016d6a250fd1db8d8b2"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1c016d6a250fd1db8d8b2","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":340},{"language":"default","tag":"Get Started","count":65},{"language":"default","tag":"ποΈ Archived","count":48},{"language":"default","tag":"Get Started for Guardrails","count":39},{"language":"default","tag":"Examples","count":35},{"language":"default","tag":"π΄ Red Team API","count":30},{"language":"default","tag":"π‘οΈ Guardrails API Endpoints","count":24},{"language":"default","tag":"Red Team (Legacy)","count":22},{"language":"default","tag":"Guardrails Policy (Legacy)","count":11},{"language":"default","tag":"Get Started for Red Team","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/redteam-api-reference/endpoint/add-custom-task","slug":"/api-reference/redteam-api-reference/endpoint/add-custom-task","pageMetadata":{"openapi":"POST /redteam/v2/add-custom-task","title":"Add Custom Task","description":null,"href":"/api-reference/redteam-api-reference/endpoint/add-custom-task"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"openapi":"POST /redteam/v2/add-custom-task","title":"Add Custom Task","description":null,"href":"/api-reference/redteam-api-reference/endpoint/add-custom-task"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Add Custom Task","operationId":"add_custom_task_post","tags":["Archived"],"parameters":["16cdb2a2-12f0-4a29-80ea-7e27aae8e059","5ae2da45-a0ea-4488-8631-08ec65ead820"],"requestBody":"c5fca943-3458-4b86-b31c-fd17039373f1","responses":{"200":"310c139a-22b1-45f1-91de-2ed5c6dc329e"},"method":"post","type":"path","servers":["46d259d2-9225-46ce-aca1-4e05427371e5"],"security":["8565320a-4e60-418d-8700-2d1d509f0638"],"path":"/redteam/v2/add-custom-task","baseUrlOptions":["https://api.enkryptai.com"],"title":"Add Custom Task","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"16cdb2a2-12f0-4a29-80ea-7e27aae8e059":{"name":"X-Enkrypt-Policy","in":"header","required":false,"schema":{"title":"Policy Name","type":"string","description":"The Code of Conduct policy name. You can use this instead of sending dataset_configuration.policy_description in the body","example":"Test CoC Policy","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"5ae2da45-a0ea-4488-8631-08ec65ead820":{"name":"X-Enkrypt-Refresh-Cache","in":"header","required":false,"schema":{"title":"Refresh Cache","type":"boolean","description":"Refresh the cache if data is stale","example":false,"isRequired":false,"uniqueKey":"","typeLabel":"boolean"}}},"requestBody":{"content":{"application/json":{"schema":{"title":"RedteamCustomConfig","properties":{"dataset_configuration":{"type":"object","title":"DatasetsCustomConfig","required":["system_description"],"example":{"system_description":"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.","policy_description":"","tools":[{"name":"web_search","description":"The tool web search is used to search the web for information related to finance."}],"scenarios":1,"categories":1,"depth":1,"max_prompts":100,"risk_categories":[]},"properties":{"system_description":{"title":"System Description","type":"string","description":"Description of the system","example":"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements.","isRequired":true,"uniqueKey":"dataset_configuration.system_description","typeLabel":"string"},"policy_description":{"title":"Policy Description","type":"string","description":"Description of the policy","example":"","uniqueKey":"dataset_configuration.policy_description","typeLabel":"string"},"tools":{"title":"Tools","type":"array","items":{"title":"Tool","type":"object","required":["name","description"],"properties":{"name":{"title":"Tool Name","type":"string","description":"Name of the tool","example":"web_search","isRequired":true,"uniqueKey":"dataset_configuration.tools.items.[INDEX].name","typeLabel":"string"},"description":{"title":"Tool Description","type":"string","description":"Description of what the tool does","example":"The tool web search is used to search the web for information related to finance.","isRequired":true,"uniqueKey":"dataset_configuration.tools.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"dataset_configuration.tools.items.[INDEX]","typeLabel":"Tool Β· object"},"description":"Array of tools available to the model","example":[{"name":"web_search","description":"The tool web search is used to search the web for information related to finance."}],"uniqueKey":"dataset_configuration.tools","typeLabel":"Tool Β· object[]"},"max_prompts":{"title":"Max Prompts","type":"integer","description":"Maximum number of prompts to be generated","minimum":100,"maximum":3500,"example":100,"uniqueKey":"dataset_configuration.max_prompts","typeLabel":"integer"},"scenarios":{"title":"Scenarios","type":"integer","description":"Maximum number of scenarios to be generated","minimum":1,"maximum":10,"example":2,"uniqueKey":"dataset_configuration.scenarios","typeLabel":"integer"},"categories":{"title":"Categories","type":"integer","description":"Maximum number of categories to be generated","minimum":1,"maximum":10,"example":2,"uniqueKey":"dataset_configuration.categories","typeLabel":"integer"},"depth":{"title":"Depth","type":"integer","description":"Maximum number of depth to be generated","minimum":1,"maximum":3,"example":2,"uniqueKey":"dataset_configuration.depth","typeLabel":"integer"},"risk_categories":{"title":"Risk Categories","type":"array","items":{"type":"string","uniqueKey":"dataset_configuration.risk_categories.items.[INDEX]","typeLabel":"string"},"description":"Risk categories for the dataset","example":["category1","category2"],"uniqueKey":"dataset_configuration.risk_categories","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"dataset_configuration","typeLabel":"DatasetsCustomConfig Β· object"},"redteam_test_configurations":{"type":"object","title":"RedteamCustomTestConfigurations","properties":{"bias_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.bias_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.bias_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.bias_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.bias_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.bias_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.bias_test","typeLabel":"RedteamTestConfiguration Β· object"},"cbrn_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.cbrn_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.cbrn_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.cbrn_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.cbrn_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.cbrn_test","typeLabel":"RedteamTestConfiguration Β· object"},"csem_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.csem_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.csem_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.csem_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.csem_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.csem_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.csem_test","typeLabel":"RedteamTestConfiguration Β· object"},"harmful_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.harmful_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.harmful_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.harmful_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.harmful_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.harmful_test","typeLabel":"RedteamTestConfiguration Β· object"},"insecure_code_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.insecure_code_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.insecure_code_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.insecure_code_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.insecure_code_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.insecure_code_test","typeLabel":"RedteamTestConfiguration Β· object"},"toxicity_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.toxicity_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.toxicity_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.toxicity_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.toxicity_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.toxicity_test","typeLabel":"RedteamTestConfiguration Β· object"},"pii_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.pii_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.pii_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.pii_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.pii_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.pii_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.pii_test","typeLabel":"RedteamTestConfiguration Β· object"},"copyright_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.copyright_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.copyright_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.copyright_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.copyright_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.copyright_test","typeLabel":"RedteamTestConfiguration Β· object"},"misinformation_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.misinformation_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.misinformation_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.misinformation_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.misinformation_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.misinformation_test","typeLabel":"RedteamTestConfiguration Β· object"},"system_prompt_extractions_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.system_prompt_extractions_test","typeLabel":"RedteamTestConfiguration Β· object"},"sponge_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.sponge_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.sponge_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.sponge_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.sponge_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.sponge_test","typeLabel":"RedteamTestConfiguration Β· object"},"competitor_test":{"title":"RedteamCompetitorTestConfiguration","type":"object","required":["sample_percentage","competitors_list","system_description"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.competitor_test.sample_percentage","typeLabel":"integer"},"competitors_list":{"title":"Competitors List","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.competitor_test.competitors_list.items.[INDEX]","typeLabel":"string"},"example":["competitor_1","competitor_2","competitor_3"],"isRequired":true,"uniqueKey":"redteam_test_configurations.competitor_test.competitors_list","typeLabel":"string[]"},"system_description":{"title":"System Description","type":"string","example":"Only talk about ACME company and do not praise or mention any of the competitors","isRequired":true,"uniqueKey":"redteam_test_configurations.competitor_test.system_description","typeLabel":"string"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.competitor_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.competitor_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.competitor_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"competitors_list":["competitor_1","competitor_2"],"system_description":"Only talk about ACME company and do not praise or mention any of the competitors","frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.competitor_test","typeLabel":"RedteamCompetitorTestConfiguration Β· object"},"adv_bias_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_bias_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_bias_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_bias_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_bias_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_bias_test","typeLabel":"RedteamTestConfiguration Β· object"},"adv_info_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_info_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_info_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_info_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_info_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_info_test","typeLabel":"RedteamTestConfiguration Β· object"},"adv_tool_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_tool_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_tool_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_tool_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_tool_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_tool_test","typeLabel":"RedteamTestConfiguration Β· object"},"adv_command_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_command_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_command_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_command_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_command_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_command_test","typeLabel":"RedteamTestConfiguration Β· object"},"adv_pii_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_pii_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_pii_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_pii_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_pii_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_pii_test","typeLabel":"RedteamTestConfiguration Β· object"},"adv_competitor_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.adv_competitor_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.adv_competitor_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.adv_competitor_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.adv_competitor_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.adv_competitor_test","typeLabel":"RedteamTestConfiguration Β· object"},"custom_test":{"type":"object","title":"RedteamTestConfiguration","required":["sample_percentage"],"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.custom_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"type":"object","title":"Attack Methods","properties":{"basic":{"type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Basic","example":["basic"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"type":"object","title":"Advanced","properties":{"static":{"type":"array","items":{"type":"string","title":"Static","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Static","example":["encoding"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"type":"array","items":{"type":"string","title":"Dynamic","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Dynamic","example":["iterative"],"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.custom_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.custom_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.custom_test.frameworks.items.[INDEX]","typeLabel":"string"},"title":"Frameworks","description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.custom_test.frameworks","typeLabel":"string[]"}},"uniqueKey":"redteam_test_configurations.custom_test","typeLabel":"RedteamTestConfiguration Β· object"},"alignment_and_governance_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.alignment_and_governance_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.alignment_and_governance_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.alignment_and_governance_test","typeLabel":"RedteamTestConfiguration Β· object"},"input_and_content_integrity_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.input_and_content_integrity_test","typeLabel":"RedteamTestConfiguration Β· object"},"infrastructure_and_integration_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.infrastructure_and_integration_test","typeLabel":"RedteamTestConfiguration Β· object"},"security_and_privacy_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.security_and_privacy_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.security_and_privacy_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.security_and_privacy_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.security_and_privacy_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.security_and_privacy_test","typeLabel":"RedteamTestConfiguration Β· object"},"human_factors_and_societal_impact_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.human_factors_and_societal_impact_test","typeLabel":"RedteamTestConfiguration Β· object"},"access_control_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.access_control_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.access_control_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.access_control_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.access_control_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.access_control_test","typeLabel":"RedteamTestConfiguration Β· object"},"physical_and_actuation_safety_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.physical_and_actuation_safety_test","typeLabel":"RedteamTestConfiguration Β· object"},"reliability_and_monitoring_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.reliability_and_monitoring_test","typeLabel":"RedteamTestConfiguration Β· object"},"governance_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.governance_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.governance_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.governance_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.governance_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.governance_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.governance_test","typeLabel":"RedteamTestConfiguration Β· object"},"agent_output_quality_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.agent_output_quality_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.agent_output_quality_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.agent_output_quality_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.agent_output_quality_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.agent_output_quality_test","typeLabel":"RedteamTestConfiguration Β· object"},"tool_misuse_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.tool_misuse_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.tool_misuse_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.tool_misuse_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.tool_misuse_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.tool_misuse_test","typeLabel":"RedteamTestConfiguration Β· object"},"privacy_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.privacy_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.privacy_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.privacy_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.privacy_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.privacy_test","typeLabel":"RedteamTestConfiguration Β· object"},"reliability_and_observability_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.reliability_and_observability_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.reliability_and_observability_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.reliability_and_observability_test","typeLabel":"RedteamTestConfiguration Β· object"},"agent_behaviour_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.agent_behaviour_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.agent_behaviour_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.agent_behaviour_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.agent_behaviour_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.agent_behaviour_test","typeLabel":"RedteamTestConfiguration Β· object"},"access_control_and_permissions_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.access_control_and_permissions_test","typeLabel":"RedteamTestConfiguration Β· object"},"tool_extraction_test":{"title":"RedteamTestConfiguration","type":"object","required":["sample_percentage"],"properties":{"sample_percentage":{"type":"integer","title":"Sample Percentage","example":1,"isRequired":true,"uniqueKey":"redteam_test_configurations.tool_extraction_test.sample_percentage","typeLabel":"integer"},"attack_methods":{"title":"Attack Methods","type":"object","properties":{"basic":{"title":"Basic","type":"array","items":{"type":"string","enum":["basic"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.basic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["basic"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.basic","typeLabel":"enum\u003cstring>[]"},"advanced":{"title":"Advanced","type":"object","properties":{"static":{"title":"Static","type":"array","items":{"title":"Static","type":"string","enum":["encoding","single_shot","lang_fr","lang_it","lang_hi","lang_es","lang_ja","masking","figstep","hades","echo","speed","pitch","reverb","noise"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.advanced.static.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["encoding"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.advanced.static","typeLabel":"enum\u003cstring>[]"},"dynamic":{"title":"Dynamic","type":"array","items":{"title":"Dynamic","type":"string","enum":["iterative","jood"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.advanced.dynamic.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["iterative"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.advanced.dynamic","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods.advanced","typeLabel":"Advanced Β· object"}},"uniqueKey":"redteam_test_configurations.tool_extraction_test.attack_methods","typeLabel":"Attack Methods Β· object"},"frameworks":{"title":"Frameworks","type":"array","items":{"type":"string","uniqueKey":"redteam_test_configurations.tool_extraction_test.frameworks.items.[INDEX]","typeLabel":"string"},"description":"List of frameworks to use for testing","example":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"],"uniqueKey":"redteam_test_configurations.tool_extraction_test.frameworks","typeLabel":"string[]"}},"example":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"uniqueKey":"redteam_test_configurations.tool_extraction_test","typeLabel":"RedteamTestConfiguration Β· object"}},"isRequired":true,"uniqueKey":"redteam_test_configurations","typeLabel":"RedteamCustomTestConfigurations Β· object"},"endpoint_configuration":{"title":"ModelCustomRequestObject","type":"object","required":["model_config"],"properties":{"model_config":{"title":"Model Config","type":"object","required":["model_provider"],"properties":{"model_provider":{"title":"Model Provider","type":"string","description":"Provider of the model which determines the request response format","enum":["openai","together","huggingface","groq","azure_openai","anthropic","cohere","bedrock","gemini","ai21","fireworks","alibaba","portkey","deepseek","mistral","llama","openai_compatible","cohere_compatible","anthropic_compatible","custom","url","enkryptai"],"example":"together","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.model_provider","typeLabel":"enum\u003cstring>"},"hosting_type":{"title":"Hosting Type","type":"string","description":"Hosting type of the model","enum":["External","Internal"],"example":"External","uniqueKey":"endpoint_configuration.model_config.hosting_type","typeLabel":"enum\u003cstring>"},"model_source":{"title":"Model Source","type":"string","description":"Source of the model","example":"https://together.ai","uniqueKey":"endpoint_configuration.model_config.model_source","typeLabel":"string"},"tools":{"title":"Tools","type":"array","items":{"title":"Tool","type":"object","required":["name","description"],"properties":{"name":{"title":"Tool Name","type":"string","description":"Name of the tool","example":"web_search","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.tools.items.[INDEX].name","typeLabel":"string"},"description":{"title":"Tool Description","type":"string","description":"Description of what the tool does","example":"The tool web search is used to search the web for information related to finance.","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.tools.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.tools.items.[INDEX]","typeLabel":"Tool Β· object"},"description":"Array of tools available to the model","example":[{"name":"web_search","description":"The tool web search is used to search the web for information related to finance."}],"uniqueKey":"endpoint_configuration.model_config.tools","typeLabel":"Tool Β· object[]"},"input_modalities":{"title":"Input Modalities","type":"array","description":"Types of input that the model can process","items":{"type":"string","enum":["text","image","audio"],"uniqueKey":"endpoint_configuration.model_config.input_modalities.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["text"],"uniqueKey":"endpoint_configuration.model_config.input_modalities","typeLabel":"enum\u003cstring>[]"},"output_modalities":{"title":"Output Modalities","type":"array","description":"Types of output that the model can generate","items":{"type":"string","enum":["text"],"uniqueKey":"endpoint_configuration.model_config.output_modalities.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["text"],"uniqueKey":"endpoint_configuration.model_config.output_modalities","typeLabel":"enum\u003cstring>[]"},"rate_per_min":{"type":"number","title":"Rate Per Min that the model supports.","description":"\u003c 100 won't enable async. > 100 will enable async mode. > 200 we can run boosted async (all tests in parallel). Default 20.","example":20,"uniqueKey":"endpoint_configuration.model_config.rate_per_min","typeLabel":"number"},"system_prompt":{"title":"System Prompt","type":"string","description":"System prompt","example":"","uniqueKey":"endpoint_configuration.model_config.system_prompt","typeLabel":"string"},"context":{"title":"Context","type":"object","description":"Grounding context stored with the saved model and carried onto every `/rt/model/*` run that uses it, so it does not have to be repeated in each run body. Same two fields as the rtv2 `context` block. An inline `context` on the run body wins over this, and a policy named via `X-Enkrypt-Policy` outranks the stored `policy_description`; whatever is left unset is filled from here.","properties":{"system_description":{"title":"System Description","type":"string","maxLength":2000,"description":"What the target system is, used to ground attack generation. Distinct from `system_prompt` above, which is text sent TO the target.","example":"Customer support bot for a bank","uniqueKey":"endpoint_configuration.model_config.context.system_description","typeLabel":"string"},"policy_description":{"title":"Policy Description","type":"string","maxLength":5000,"description":"The policy the target is expected to follow. Enables context-aware attacks.","example":"Customer policy","uniqueKey":"endpoint_configuration.model_config.context.policy_description","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.context","typeLabel":"Context Β· object"},"connect_via_relay":{"title":"Connect Via Relay","type":"boolean","description":"Reach this model through a **relay bridge** running inside your own network rather than dialling `endpoint` from Enkrypt's cloud. Save it together with `metadata.relay` below, which names the bridge. Only the `/rt/model/*` Red Team endpoints act on it.\n\nWhen set, `endpoint` is kept for labelling but never dialled, and the API key belongs in `metadata.relay.target_headers` rather than in `auth_data`. A relayed saved model cannot be health-checked with `POST /rt/model/model-health`; use `GET /redteam/relay/v1/relay/bridges/{bridge_id}/status` instead.","example":true,"uniqueKey":"endpoint_configuration.model_config.connect_via_relay","typeLabel":"boolean"},"endpoint":{"title":"Endpoint","type":"object","required":["scheme","host","port","base_path"],"properties":{"scheme":{"title":"Scheme","type":"string","description":"Scheme of the endpoint","example":"https","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.endpoint.scheme","typeLabel":"string"},"host":{"title":"Host","type":"string","description":"Host of the endpoint","example":"api.together.xyz","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.endpoint.host","typeLabel":"string"},"port":{"title":"Port","type":"integer","description":"Port of the endpoint","example":443,"isRequired":true,"uniqueKey":"endpoint_configuration.model_config.endpoint.port","typeLabel":"integer"},"base_path":{"title":"Base Path","type":"string","description":"Base path of the endpoint","example":"/v1","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.endpoint.base_path","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.endpoint","typeLabel":"Endpoint Β· object"},"paths":{"title":"Paths","type":"object","properties":{"completions":{"title":"Completions","type":"string","example":"/completions","uniqueKey":"endpoint_configuration.model_config.paths.completions","typeLabel":"string"},"chat":{"title":"Chat","type":"string","example":"/chat/completions","uniqueKey":"endpoint_configuration.model_config.paths.chat","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.paths","typeLabel":"Paths Β· object"},"auth_data":{"title":"Auth Data","type":"object","properties":{"header_name":{"title":"Header Name","type":"string","example":"Authorization","uniqueKey":"endpoint_configuration.model_config.auth_data.header_name","typeLabel":"string"},"header_prefix":{"title":"Header Prefix","type":"string","example":"Bearer","uniqueKey":"endpoint_configuration.model_config.auth_data.header_prefix","typeLabel":"string"},"space_after_prefix":{"title":"Space After Prefix","type":"boolean","example":true,"uniqueKey":"endpoint_configuration.model_config.auth_data.space_after_prefix","typeLabel":"boolean"},"param_name":{"title":"Param Name","type":"string","example":"token","uniqueKey":"endpoint_configuration.model_config.auth_data.param_name","typeLabel":"string"},"azure_client_id":{"title":"Azure Client ID","type":"string","example":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","uniqueKey":"endpoint_configuration.model_config.auth_data.azure_client_id","typeLabel":"string"},"azure_client_secret":{"title":"Azure Client Secret","type":"string","example":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","uniqueKey":"endpoint_configuration.model_config.auth_data.azure_client_secret","typeLabel":"string"},"azure_tenant_id":{"title":"Azure Tenant ID","type":"string","example":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","uniqueKey":"endpoint_configuration.model_config.auth_data.azure_tenant_id","typeLabel":"string"},"gcp_service_account_json":{"title":"GCP Service Account JSON","type":"string","example":"{\"type\":\"service_account\",\"project_id\":\"xxxxxxxx\",\"private_key_id\":\"xxxxxxxx\",\"private_key\":\"xxxxxxxx\",\"client_email\":\"xxxxxxxx\",\"client_id\":\"xxxxxxxx\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"token_uri\":\"https://oauth2.googleapis.com/token\",\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/xxxxxxxx@xxxxxxxx.iam.gserviceaccount.com\"}","uniqueKey":"endpoint_configuration.model_config.auth_data.gcp_service_account_json","typeLabel":"string"},"aws_access_key_id":{"title":"AWS Access Key ID","type":"string","example":"xxxxxxxx","uniqueKey":"endpoint_configuration.model_config.auth_data.aws_access_key_id","typeLabel":"string"},"aws_secret_access_key":{"title":"AWS Secret Access Key","type":"string","example":"xxxxxxxx","uniqueKey":"endpoint_configuration.model_config.auth_data.aws_secret_access_key","typeLabel":"string"},"allow_override":{"title":"Allow Override","type":"boolean","description":"If enabled, the authorization header or parameter can be overridden in the request by the value configured here","example":false,"uniqueKey":"endpoint_configuration.model_config.auth_data.allow_override","typeLabel":"boolean"}},"uniqueKey":"endpoint_configuration.model_config.auth_data","typeLabel":"Auth Data Β· object"},"apikeys":{"title":"API Keys","type":"array","items":{"title":"API Key","type":"string","uniqueKey":"endpoint_configuration.model_config.apikeys.items.[INDEX]","typeLabel":"string"},"example":["TOGETHER_AI_API_KEY"],"uniqueKey":"endpoint_configuration.model_config.apikeys","typeLabel":"string[]"},"model_auth_type":{"title":"Model Auth Type (apikey or jwt)","type":"string","enum":["apikey","jwt"],"example":"apikey","uniqueKey":"endpoint_configuration.model_config.model_auth_type","typeLabel":"enum\u003cstring>"},"model_jwt_config":{"title":"Model Custom Auth Token Config","type":"object","properties":{"jwt_method":{"title":"Token Method","type":"string","enum":["POST","GET"],"example":"POST","uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_method","typeLabel":"enum\u003cstring>"},"jwt_url":{"title":"Token URL","type":"string","example":"https://example.com/api/auth","uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_url","typeLabel":"string"},"jwt_headers":{"type":"array","title":"Custom Token Headers","description":"Array of custom headers to be sent with token requests","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","title":"Header Key","description":"The name/key of the custom header","example":"x-custom-header","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_headers.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","title":"Header Value","description":"The value of the custom header","example":"custom-value","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_headers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_headers.items.[INDEX]","typeLabel":"object"},"example":[{"key":"content-type","value":"application/x-www-form-urlencoded"},{"key":"x-custom-header","value":"custom-value"}],"uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_headers","typeLabel":"Custom Token Headers Β· object[]"},"jwt_body":{"type":"string","title":"Token Body","description":"The body of the token request","example":"grant_type=client_credentials\u0026client_id=xxxxxxxxxx\u0026client_secret=xxxxxxxxxx","uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_body","typeLabel":"string"},"jwt_response_key":{"type":"string","title":"JWT Response Key","description":"The key of the token in the response in jq format","example":".access_token","uniqueKey":"endpoint_configuration.model_config.model_jwt_config.jwt_response_key","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.model_jwt_config","typeLabel":"Model Custom Auth Token Config Β· object"},"custom_curl_command":{"title":"Custom Curl Command","type":"string","example":"curl --location 'https://example.com/api/chat' \\\n--header 'Accept: application/json, text/plain, */*' \\\n--header 'Accept-Language: en-US,en;q=0.9' \\\n--header 'Authorization: {token}' \\\n--header 'Connection: keep-alive' \\\n--header 'Content-Type: application/json' \\\n--data '{\"prompt\":\"{prompt}\"}'","uniqueKey":"endpoint_configuration.model_config.custom_curl_command","typeLabel":"string"},"custom_headers":{"type":"array","title":"Custom Headers","description":"Array of custom headers to be sent with requests","items":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","title":"Header Key","description":"The name/key of the custom header","example":"X-Custom-Header","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.custom_headers.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","title":"Header Value","description":"The value of the custom header","example":"custom-value","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.custom_headers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.custom_headers.items.[INDEX]","typeLabel":"object"},"example":[{"key":"X-Custom-Header","value":"custom-value"}],"uniqueKey":"endpoint_configuration.model_config.custom_headers","typeLabel":"Custom Headers Β· object[]"},"custom_payload":{"type":"object","title":"Custom Payload","description":"A flexible object that can contain any custom key-value pairs for the request payload. Only condition is to include {prompt} in the payload.","additionalProperties":true,"example":{"messages":[{"role":"developer","content":"You are a helpful assistant."},{"role":"user","content":"{prompt}"}]},"uniqueKey":"endpoint_configuration.model_config.custom_payload","typeLabel":"Custom Payload Β· object"},"custom_response_content_type":{"type":"string","title":"Custom Response Content Type","description":"Content type of the custom response. Currently only supports JSON.","enum":["json"],"example":"json","uniqueKey":"endpoint_configuration.model_config.custom_response_content_type","typeLabel":"enum\u003cstring>"},"custom_response_format":{"type":"string","title":"Custom Response Format","description":"Optional response format path. Jq format for json type (e.g. '.choices[0].message.content')","example":".choices[0].message.content","uniqueKey":"endpoint_configuration.model_config.custom_response_format","typeLabel":"string"},"metadata":{"title":"Metadata","type":"object","properties":{"max_tokens":{"title":"Max Tokens","type":"integer","example":2048,"uniqueKey":"endpoint_configuration.model_config.metadata.max_tokens","typeLabel":"integer"},"input_cost_1M_tokens":{"title":"Input Cost 1M Tokens","type":"number","example":2.5,"uniqueKey":"endpoint_configuration.model_config.metadata.input_cost_1M_tokens","typeLabel":"number"},"output_cost_1M_tokens":{"title":"Output Cost 1M Tokens","type":"number","example":10,"uniqueKey":"endpoint_configuration.model_config.metadata.output_cost_1M_tokens","typeLabel":"number"},"azure_instance":{"title":"Azure Instance","type":"string","description":"If Azure, it's instance type","example":"enkrypt2024","uniqueKey":"endpoint_configuration.model_config.metadata.azure_instance","typeLabel":"string"},"azure_api_version":{"title":"Azure API Version","type":"string","description":"If Azure, it's API version","example":"2024-02-01","uniqueKey":"endpoint_configuration.model_config.metadata.azure_api_version","typeLabel":"string"},"azure_deployment_id":{"title":"Azure Deployment ID","type":"string","description":"If Azure, it's deployment ID","example":"gpt3","uniqueKey":"endpoint_configuration.model_config.metadata.azure_deployment_id","typeLabel":"string"},"anthropic_version":{"title":"Anthropic Version","type":"string","description":"If Anthropic, it's version","example":"","uniqueKey":"endpoint_configuration.model_config.metadata.anthropic_version","typeLabel":"string"},"llama2_format":{"title":"Llama2 Format","type":"string","description":"If Llama2, it's format","enum":["openai"],"example":"openai","uniqueKey":"endpoint_configuration.model_config.metadata.llama2_format","typeLabel":"enum\u003cstring>"},"mistral_format":{"title":"Mistral Format","type":"string","description":"If Mistral, it's format","enum":["openai","ollama"],"example":"openai","uniqueKey":"endpoint_configuration.model_config.metadata.mistral_format","typeLabel":"enum\u003cstring>"},"gemini":{"title":"Gemini","type":"object","properties":{"api_endpoint":{"title":"API Endpoint","type":"string","description":"If running Gemini on Vertex, specify the regional API endpoint (hostname only)","example":"","uniqueKey":"endpoint_configuration.model_config.metadata.gemini.api_endpoint","typeLabel":"string"},"project_id":{"title":"Project ID","type":"string","description":"If running Gemini on Vertex, specify the project ID","example":"","uniqueKey":"endpoint_configuration.model_config.metadata.gemini.project_id","typeLabel":"string"},"location_id":{"title":"Location ID","type":"string","description":"If running Gemini on Vertex, specify the location ID","example":"","uniqueKey":"endpoint_configuration.model_config.metadata.gemini.location_id","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.metadata.gemini","typeLabel":"Gemini Β· object"},"bedrock":{"title":"Bedrock","type":"object","properties":{"aws_region":{"title":"AWS Region","type":"string","description":"If using AWS providers (Bedrock) you can override the default AWS_REGION 'us-east-1' by setting this option","example":"","uniqueKey":"endpoint_configuration.model_config.metadata.bedrock.aws_region","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.metadata.bedrock","typeLabel":"Bedrock Β· object"},"enkryptai":{"title":"EnkryptAI","type":"object","properties":{"deployment_name":{"title":"Deployment Name","type":"string","description":"If using EnkryptAI, specify the deployment name","example":"test-deployment-1","uniqueKey":"endpoint_configuration.model_config.metadata.enkryptai.deployment_name","typeLabel":"string"}},"uniqueKey":"endpoint_configuration.model_config.metadata.enkryptai","typeLabel":"EnkryptAI Β· object"},"relay":{"title":"Relay","type":"object","description":"Routing for a model reached through a **relay bridge** inside your own network. Unlike every other key in `metadata`, this one is not provider-specific - the bridge fronts whatever you run behind it - and it is the only `metadata` key the `/rt/model/*` Red Team endpoints understand. Set it together with `model_config.connect_via_relay: true`; one without the other is rejected when the model is used. Saving `relay` alongside provider metadata is also rejected by `/rt/model/*`, because the provider half could not be carried over.","required":["bridge_id","target_endpoint"],"properties":{"bridge_id":{"title":"Bridge ID","type":"string","description":"Which of your connected bridges to route through. Must equal the id that bridge registered with.","example":"customer-bridge-1","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.metadata.relay.bridge_id","typeLabel":"string"},"target_endpoint":{"title":"Target Endpoint","type":"string","description":"The full URL inside your own network that the bridge will POST to. This is what is actually called; `model_config.endpoint` becomes a label.","example":"https://customer-internal-llm.local/v1/chat/completions","isRequired":true,"uniqueKey":"endpoint_configuration.model_config.metadata.relay.target_endpoint","typeLabel":"string"},"model_name":{"title":"Model Name","type":"string","description":"The identifier your own LLM expects. Optional here - unlike on an inline `target.metadata.relay`, it falls back to the saved model's own `model_name`.","example":"their-internal-model","uniqueKey":"endpoint_configuration.model_config.metadata.relay.model_name","typeLabel":"string"},"target_headers":{"title":"Target Headers","type":"object","additionalProperties":{"type":"string","uniqueKey":"endpoint_configuration.model_config.metadata.relay.target_headers.additionalProperties","typeLabel":"string"},"description":"Headers forwarded verbatim to your LLM by the bridge. Credentials for your own endpoint belong here rather than in the saved model's API key.","example":{"Authorization":"Bearer customer-side-internal-key"},"uniqueKey":"endpoint_configuration.model_config.metadata.relay.target_headers","typeLabel":"Target Headers Β· object"}},"uniqueKey":"endpoint_configuration.model_config.metadata.relay","typeLabel":"Relay Β· object"}},"uniqueKey":"endpoint_configuration.model_config.metadata","typeLabel":"Metadata Β· object"},"default_request_options":{"title":"Default Request Options","type":"object","properties":{"temperature":{"title":"Temperature","type":"number","example":1,"uniqueKey":"endpoint_configuration.model_config.default_request_options.temperature","typeLabel":"number"},"top_p":{"title":"Top P","type":"number","example":1,"uniqueKey":"endpoint_configuration.model_config.default_request_options.top_p","typeLabel":"number"},"top_k":{"title":"Top K","type":"integer","example":0,"uniqueKey":"endpoint_configuration.model_config.default_request_options.top_k","typeLabel":"integer"}},"uniqueKey":"endpoint_configuration.model_config.default_request_options","typeLabel":"Default Request Options Β· object"}},"isRequired":true,"uniqueKey":"endpoint_configuration.model_config","typeLabel":"Model Config Β· object"},"testing_for":{"title":"Testing For","type":"string","description":"Purpose of testing","enum":["foundationModels","chatbotsAndCopilots","agents","URL"],"example":"foundationModels","uniqueKey":"endpoint_configuration.testing_for","typeLabel":"enum\u003cstring>"},"model_name":{"title":"Model Name","type":"string","description":"Name of the model. Required for foundationModels","example":"mistralai/Mixtral-8x7B-Instruct-v0.1","uniqueKey":"endpoint_configuration.model_name","typeLabel":"string"},"certifications":{"title":"Certifications","type":"array","items":{"title":"Certification","type":"string","uniqueKey":"endpoint_configuration.certifications.items.[INDEX]","typeLabel":"string"},"description":"List of certifications","example":["GDPR","CCPA","HIPAA","SOC 2 Type II","SOC 3"],"uniqueKey":"endpoint_configuration.certifications","typeLabel":"string[]"}},"example":{"testing_for":"foundationModels","model_name":"mistralai/Mixtral-8x7B-Instruct-v0.1","certifications":[],"model_config":{"model_provider":"together","hosting_type":"External","input_modalities":["text"],"output_modalities":["text"],"model_source":"https://together.ai","rate_per_min":20,"system_prompt":"","context":{"system_description":"Customer support bot for a bank","policy_description":"Customer policy"},"endpoint":{"scheme":"https","host":"api.together.xyz","port":443,"base_path":"/v1"},"paths":{"completions":"/completions","chat":"/chat/completions"},"auth_data":{"header_name":"Authorization","header_prefix":"Bearer","space_after_prefix":true},"apikeys":["xxxxx"],"metadata":{},"default_request_options":{}}},"isRequired":true,"uniqueKey":"endpoint_configuration","typeLabel":"ModelCustomRequestObject Β· object"},"user_metadata":{"type":"object","description":"Optional arbitrary metadata object echoed back in the response. Limits: at most 16 top-level keys, key names up to 64 characters, nesting depth up to 3, total serialized size up to 4 KB. When provided and valid, this object is also echoed as a top-level `user_metadata` key on error responses (4xx/5xx) of endpoints that accept it; invalid or oversized metadata is never echoed, including on the 422 response it causes.","additionalProperties":true,"maxProperties":16,"example":{"request_id":"abc-123","source":"mobile-app"},"uniqueKey":"user_metadata","typeLabel":"object"}},"type":"object","required":["dataset_configuration","redteam_test_configurations","endpoint_configuration"],"uniqueKey":"","typeLabel":"RedteamCustomConfig Β· object"},"examples":{"Example":{"title":"Example","value":{"dataset_configuration":{"system_description":"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.","policy_description":"","tools":[{"name":"web_search","description":"The tool web search is used to search the web for information related to finance."}],"scenarios":1,"categories":1,"depth":1,"max_prompts":100,"risk_categories":[]},"redteam_test_configurations":{"bias_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"cbrn_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"csem_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"harmful_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"insecure_code_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"toxicity_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"pii_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"copyright_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"misinformation_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"system_prompt_extractions_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"sponge_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"competitor_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"competitors_list":["competitor_1","competitor_2"],"system_description":"Only talk about ACME company and do not praise or mention any of the competitors","frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_bias_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_info_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_tool_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_command_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_pii_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"adv_competitor_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"custom_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"alignment_and_governance_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"input_and_content_integrity_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"infrastructure_and_integration_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"security_and_privacy_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"human_factors_and_societal_impact_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"access_control_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"physical_and_actuation_safety_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"reliability_and_monitoring_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"governance_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"agent_output_quality_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"tool_misuse_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"privacy_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"reliability_and_observability_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"agent_behaviour_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"access_control_and_permissions_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]},"tool_extraction_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]},"frameworks":["ISO","NIST AI 600","AIUC-1","EU AI Act","OWASP LLM Top 10","OWASP Agent Security"]}},"endpoint_configuration":{"testing_for":"foundationModels","model_name":"mistralai/Mixtral-8x7B-Instruct-v0.1","certifications":[],"model_config":{"model_provider":"together","hosting_type":"External","input_modalities":["text"],"output_modalities":["text"],"model_source":"https://together.ai","rate_per_min":20,"system_prompt":"","context":{"system_description":"Customer support bot for a bank","policy_description":"Customer policy"},"endpoint":{"scheme":"https","host":"api.together.xyz","port":443,"base_path":"/v1"},"paths":{"completions":"/completions","chat":"/chat/completions"},"auth_data":{"header_name":"Authorization","header_prefix":"Bearer","space_after_prefix":true},"apikeys":["xxxxx"],"metadata":{},"default_request_options":{}}},"user_metadata":{"request_id":"abc-123","source":"mobile-app"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"310c139a-22b1-45f1-91de-2ed5c6dc329e":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"RedteamAddCustomTaskResponse","type":"object","properties":{"task_id":{"type":"string","title":"Task Id","example":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","isRequired":true,"uniqueKey":"task_id","typeLabel":"string"},"status":{"title":"Status","type":"string","description":"Status of the task","enum":["Success","Failed"],"example":"Success","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"title":"Message","type":"string","example":"Task submitted successfully","uniqueKey":"message","typeLabel":"string"},"data":{"title":"RedteamCustomResponseConfig","type":"object","additionalProperties":true,"properties":{"red_teaming":{"title":"RedTeaming","type":"object","description":"Configuration for red team testing","additionalProperties":true,"properties":{"model_config":{"title":"RedteamTargetModelConfiguration","type":"object","description":"Configuration for red team target model","additionalProperties":true,"uniqueKey":"data.red_teaming.model_config","typeLabel":"RedteamTargetModelConfiguration Β· object"},"redteam_config":{"title":"RedteamTestConfigurations","type":"object","description":"Configuration for red team tests","additionalProperties":true,"uniqueKey":"data.red_teaming.redteam_config","typeLabel":"RedteamTestConfigurations Β· object"}},"uniqueKey":"data.red_teaming","typeLabel":"RedTeaming Β· object"},"datasets":{"title":"RedTeaming","type":"object","description":"Configuration for red team testing","additionalProperties":true,"uniqueKey":"data.datasets","typeLabel":"RedTeaming Β· object"}},"example":{"status":"Success","message":"Task submitted successfully","task_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","data":{"id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","red_teaming":{"id":"9a010225-ca18-456b-9513-xxxxxxx","test_name":"Test Custom Test 1","created_at":"2025-04-16T09:29:51.525354+00:00","job_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","dataset_name":"9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51","model_name":"Qwen2.5-7B-Instruct-Turbo","model_config":{"testing_for":"foundationModels","model_name":"Qwen/Qwen2.5-7B-Instruct-Turbo","rpm":null,"model_version":null,"system_prompt":"","conversation_template":null,"model_source":"https://together.ai","model_provider":"together","model_endpoint_url":"https://api.together.xyz:443/v1/chat/completions","rate_per_min":20,"input_modalities":["text","image","audio"],"output_modalities":["text"],"custom_curl_command":null,"custom_headers":null,"custom_payload":null,"custom_response_content_type":null,"custom_response_format":null,"tools":null,"metadata":null},"redteam_config":{"custom_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]}}},"status":"Queued","location":"9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","run_name":null,"project_name":"default","actioner_email":null,"test_version":3,"model_saved_name":null,"model_version":null,"coc_policy_name":"Healthcare Guidelines"},"datasets":{"id":"9a010225-ca18-456b-9513-xxxxxxx","dataset_name":"9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51","created_at":"2025-04-16T09:29:51.393132+00:00","job_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","status":"Queued","location":"9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","metadata":{"user_id":"9a010225-ca18-456b-9513-xxxxxxx","email_id":"example@gmail.com","project_name":"default","run_name":null,"actioner_email":null},"system_description":"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.","policy_description":"\"1. The assistant's response must not be relied upon as the sole basis for clinical decisions when providing healthcare information.\\n2. Users must not request professional medical judgment from the assistant when seeking healthcare advice.\\n3. The assistant's response must not provide personalized medical diagnoses, treatments, or advice when asked about health-related issues.\\n4. The assistant's response should not replace human consultation, particularly in emergency or complex clinical situations.\\n5. User queries should not request personalized medical diagnoses, treatments, or advice.\\n6. Users must not rely solely on AI outputs for clinical decision-making without consulting a qualified healthcare professional.\\n7. The assistant's response must not offer definitive medical diagnoses when asked about symptoms.\\n8. The assistant's response must not provide treatment plans or medication prescriptions when asked for medical advice.\\n9. The assistant's response must not provide real-time emergency care instructions when life-threatening symptoms are detected.\\n10. The assistant's response must not make autonomous decisions that directly impact patient care without human oversight.\\n11. The assistant's response must not provide personalized medical advice without clear non-advisory disclaimers when discussing health issues.\\n12. User queries should not request definitive medical diagnoses or treatment plans.\\n13. Users must not ask for real-time emergency care instructions in life-threatening situations.\\n14. The assistant's response must not provide specific medical advice when users ask for health-related information.\\n15. Users must not request specific medical advice or treatment recommendations from the assistant.\\n16. The assistant's response should not include biased health recommendations that disproportionately impact specific demographic groups.\\n17. Users must not provide sensitive personal data unless explicitly required for the interaction.\\n18. The assistant's response must not utilize collected data for purposes other than enhancing functionality, improving user experience, or research under anonymized conditions.\\n19. The assistant's response must not provide medical advice, diagnosis, or treatment plans when asked about health-related issues.\\n20. The assistant's response should clearly state that its outputs are for general informational purposes only when discussing health topics.\\n21. The assistant's response must not imply that using the AI system establishes a patient-provider relationship when users inquire about medical consultations.\\n22. Users must not request specific medical advice or treatment plans from the assistant.\"","info_pdf_url":null,"tools":[],"scenarios":2,"categories":2,"depth":1}}},"uniqueKey":"data","typeLabel":"RedteamCustomResponseConfig Β· object"},"user_metadata":{"type":"object","description":"Optional arbitrary metadata object echoed back in the response. Limits: at most 16 top-level keys, key names up to 64 characters, nesting depth up to 3, total serialized size up to 4 KB. When provided and valid, this object is also echoed as a top-level `user_metadata` key on error responses (4xx/5xx) of endpoints that accept it; invalid or oversized metadata is never echoed, including on the 422 response it causes.","additionalProperties":true,"maxProperties":16,"example":{"request_id":"abc-123","source":"mobile-app"},"uniqueKey":"user_metadata","typeLabel":"object"}},"required":["task_id"],"uniqueKey":"","typeLabel":"RedteamAddCustomTaskResponse Β· object"},"examples":{"Example":{"title":"Example","value":{"task_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","status":"Success","message":"Task submitted successfully","data":{"status":"Success","message":"Task submitted successfully","task_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","data":{"id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","red_teaming":{"id":"9a010225-ca18-456b-9513-xxxxxxx","test_name":"Test Custom Test 1","created_at":"2025-04-16T09:29:51.525354+00:00","job_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","dataset_name":"9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51","model_name":"Qwen2.5-7B-Instruct-Turbo","model_config":{"testing_for":"foundationModels","model_name":"Qwen/Qwen2.5-7B-Instruct-Turbo","rpm":null,"model_version":null,"system_prompt":"","conversation_template":null,"model_source":"https://together.ai","model_provider":"together","model_endpoint_url":"https://api.together.xyz:443/v1/chat/completions","rate_per_min":20,"input_modalities":["text","image","audio"],"output_modalities":["text"],"custom_curl_command":null,"custom_headers":null,"custom_payload":null,"custom_response_content_type":null,"custom_response_format":null,"tools":null,"metadata":null},"redteam_config":{"custom_test":{"sample_percentage":1,"attack_methods":{"basic":["basic"]}}},"status":"Queued","location":"9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","run_name":null,"project_name":"default","actioner_email":null,"test_version":3,"model_saved_name":null,"model_version":null,"coc_policy_name":"Healthcare Guidelines"},"datasets":{"id":"9a010225-ca18-456b-9513-xxxxxxx","dataset_name":"9a010225-ca18-456b-9513-xxxxxxx-Test Custom Test 1-2025-04-16-09-29-51","created_at":"2025-04-16T09:29:51.393132+00:00","job_id":"generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","status":"Queued","location":"9a010225-ca18-456b-9513-xxxxxxx/generate-and-redteam-f790e68a-48f6-410a-9e83-xxxxxxx","metadata":{"user_id":"9a010225-ca18-456b-9513-xxxxxxx","email_id":"example@gmail.com","project_name":"default","run_name":null,"actioner_email":null},"system_description":"- **Voter Eligibility**: To vote in U.S. elections, individuals must be U.S. citizens, at least 18 years old by election day, and meet their state's residency requirements. - **Voter Registration**: Most states require voters to register ahead of time, with deadlines varying widely. North Dakota is an exception, as it does not require voter registration. - **Identification Requirements**: Thirty-six states enforce voter ID laws, requiring individuals to present identification at polling places. These laws aim to prevent voter fraud but can also lead to disenfranchisement. - **Voting Methods**: Voters can typically choose between in-person voting on election day, early voting, and absentee or mail-in ballots, depending on state regulations. - **Polling Hours**: Polling hours vary by state, with some states allowing extended hours for voters. ItΓ’β¬β’s essential for voters to check local polling times to ensure they can cast their ballots. - **Provisional Ballots**: If there are questions about a voter's eligibility, they may be allowed to cast a provisional ballot. This ballot is counted once eligibility is confirmed. - **Election Day Laws**: Many states have laws that protect the rights of voters on election day, including prohibiting intimidation and ensuring access to polling places. - **Campaign Finance Regulations**: Federal and state laws regulate contributions to candidates and political parties to ensure transparency and limit the influence of money in politics. - **Political Advertising**: Campaigns must adhere to rules regarding political advertising, including disclosure requirements about funding sources and content accuracy. - **Voter Intimidation Prohibitions**: Federal laws prohibit any form of voter intimidation or coercion at polling places, ensuring a safe environment for all voters. - **Accessibility Requirements**: The Americans with Disabilities Act mandates that polling places be accessible to individuals with disabilities, ensuring equal access to the electoral process. - **Election Monitoring**: Various organizations are allowed to monitor elections to ensure compliance with laws and regulations. They help maintain transparency and accountability in the electoral process. - **Vote Counting Procedures**: States have specific procedures for counting votes, including the use of electronic voting machines and manual audits to verify results. - **Ballot Design Standards**: States must adhere to certain design standards for ballots to ensure clarity and prevent confusion among voters when casting their votes. - **Post-Election Audits**: Some states conduct post-election audits as a measure of accuracy. These audits help verify that the vote count reflects the actual ballots cast.","policy_description":"\"1. The assistant's response must not be relied upon as the sole basis for clinical decisions when providing healthcare information.\\n2. Users must not request professional medical judgment from the assistant when seeking healthcare advice.\\n3. The assistant's response must not provide personalized medical diagnoses, treatments, or advice when asked about health-related issues.\\n4. The assistant's response should not replace human consultation, particularly in emergency or complex clinical situations.\\n5. User queries should not request personalized medical diagnoses, treatments, or advice.\\n6. Users must not rely solely on AI outputs for clinical decision-making without consulting a qualified healthcare professional.\\n7. The assistant's response must not offer definitive medical diagnoses when asked about symptoms.\\n8. The assistant's response must not provide treatment plans or medication prescriptions when asked for medical advice.\\n9. The assistant's response must not provide real-time emergency care instructions when life-threatening symptoms are detected.\\n10. The assistant's response must not make autonomous decisions that directly impact patient care without human oversight.\\n11. The assistant's response must not provide personalized medical advice without clear non-advisory disclaimers when discussing health issues.\\n12. User queries should not request definitive medical diagnoses or treatment plans.\\n13. Users must not ask for real-time emergency care instructions in life-threatening situations.\\n14. The assistant's response must not provide specific medical advice when users ask for health-related information.\\n15. Users must not request specific medical advice or treatment recommendations from the assistant.\\n16. The assistant's response should not include biased health recommendations that disproportionately impact specific demographic groups.\\n17. Users must not provide sensitive personal data unless explicitly required for the interaction.\\n18. The assistant's response must not utilize collected data for purposes other than enhancing functionality, improving user experience, or research under anonymized conditions.\\n19. The assistant's response must not provide medical advice, diagnosis, or treatment plans when asked about health-related issues.\\n20. The assistant's response should clearly state that its outputs are for general informational purposes only when discussing health topics.\\n21. The assistant's response must not imply that using the AI system establishes a patient-provider relationship when users inquire about medical consultations.\\n22. Users must not request specific medical advice or treatment plans from the assistant.\"","info_pdf_url":null,"tools":[],"scenarios":2,"categories":2,"depth":1}}},"user_metadata":{"request_id":"abc-123","source":"mobile-app"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8565320a-4e60-418d-8700-2d1d509f0638":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"apikey","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"46d259d2-9225-46ce-aca1-4e05427371e5":{"url":"https://api.enkryptai.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"apikey","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"apikey","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"apikey"}],"title":"apiKeyAuth"}]},"originalFileLocation":"enkrypt-openapi.json"},"subdomain":"enkryptai-42","siteName":"Enkrypt AI","title":"Add Custom Task - Enkrypt AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T09:28:10.055Z","originalFileLocation":"api-reference/redteam-api-reference/endpoint/add-custom-task.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Enkrypt AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Custom Task - Enkrypt AI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Enkrypt AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://enkryptai-42.mintlify.app/_mintlify/api/og/v2?division=Red+Team+%28Legacy%29\u0026amp;title=Add+Custom+Task\u0026amp;theme=3d60806929a37a29522c9c45\u0026amp;signature=3d06cd8b8796062e1098969f7c02de06d51d4cd5d87b1dbc9cdb72070d95260c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add Custom Task - Enkrypt AI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://enkryptai-42.mintlify.app/_mintlify/api/og/v2?division=Red+Team+%28Legacy%29\u0026amp;title=Add+Custom+Task\u0026amp;theme=3d60806929a37a29522c9c45\u0026amp;signature=3d06cd8b8796062e1098969f7c02de06d51d4cd5d87b1dbc9cdb72070d95260c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/enkryptai-42/zTk8P2FqD4OFror7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Enkrypt AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff6b6b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/redteam-api-reference/endpoint/add-custom-task.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.enkryptai.com/#organization\",\"name\":\"Enkrypt AI\",\"url\":\"https://docs.enkryptai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/enkryptai-42/7kWxrBaXsO0YvXjU/logo/light-logo.png?fit=max\u0026auto=format\u0026n=7kWxrBaXsO0YvXjU\u0026q=85\u0026s=3e4d5072cef08dc6b8885a03a7821b72\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.enkryptai.com#website\",\"name\":\"Enkrypt AI\",\"url\":\"https://docs.enkryptai.com\",\"publisher\":{\"@id\":\"https://docs.enkryptai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task#webpage\",\"url\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task\",\"name\":\"Add Custom Task\",\"dateModified\":\"2026-10-28T09:28:10.055Z\",\"isPartOf\":{\"@id\":\"https://docs.enkryptai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.enkryptai.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ποΈ Archived\",\"item\":\"https://docs.enkryptai.com/api-reference/datasets-api-reference/endpoint/add-task\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Red Team (Legacy)\",\"item\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/health\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Add Custom Task\",\"item\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task#apireference\",\"headline\":\"Add Custom Task\",\"name\":\"Add Custom Task\",\"url\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task\",\"mainEntityOfPage\":{\"@id\":\"https://docs.enkryptai.com/api-reference/redteam-api-reference/endpoint/add-custom-task#webpage\"},\"dateModified\":\"2026-10-28T09:28:10.055Z\",\"publisher\":{\"@id\":\"https://docs.enkryptai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.enkryptai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Enkrypt AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Enkrypt AI","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home/introduction"}]},{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Overview","href":"/api-reference/introduction"},{"group":"π Code of Conduct API","pages":[{"title":"Infer Document","openapi":"POST /guardrails/policy-wizard/infer-document","href":"/api-reference/coc-api-reference/endpoint/infer-document"},{"title":"Generate Rules","openapi":"POST /guardrails/policy-wizard/generate-rules","href":"/api-reference/coc-api-reference/endpoint/generate-rules"},{"title":"Add Policy","openapi":"POST /code-of-conduct/add-policy","href":"/api-reference/coc-api-reference/endpoint/add-policy"},{"title":"Get Policy","openapi":"GET /code-of-conduct/get-policy","href":"/api-reference/coc-api-reference/endpoint/get-policy"},{"title":"Modify Policy","openapi":"PATCH /code-of-conduct/modify-policy","href":"/api-reference/coc-api-reference/endpoint/modify-policy"},{"title":"Delete Policy","openapi":"DELETE /code-of-conduct/delete-policy","href":"/api-reference/coc-api-reference/endpoint/delete-policy"},{"title":"List Policies","openapi":"GET /code-of-conduct/list-policies","href":"/api-reference/coc-api-reference/endpoint/list-policies"}]},{"group":"π‘οΈ Guardrails API Endpoints","pages":[{"openapi":"GET /guardrails/health","title":"Health Check","href":"/api-reference/guardrails-api-reference/endpoint/health-check"},{"openapi":"GET /guardrails/status","title":"Status Check","href":"/api-reference/guardrails-api-reference/endpoint/status"},{"openapi":"GET /guardrails/models","title":"Models Loaded","href":"/api-reference/guardrails-api-reference/endpoint/models"},{"openapi":"POST /guardrails/detect","title":"Guardrails Detect","href":"/api-reference/guardrails-api-reference/endpoint/detect"},{"openapi":"POST /guardrails/batch/detect","title":"Guardrails Batch Detect","href":"/api-reference/guardrails-api-reference/endpoint/batch-detect"},{"title":"Scan URL","openapi":"POST /guardrails/scan-url","href":"/api-reference/guardrails-api-reference/endpoint/scan-url"},{"title":"Scan PDF","openapi":"POST /guardrails/scan-pdf","href":"/api-reference/guardrails-api-reference/endpoint/scan-pdf"},{"title":"Detect Image","openapi":"POST /guardrails/detect-image","href":"/api-reference/guardrails-api-reference/endpoint/detect-image"},{"title":"Detect Audio","openapi":"POST /guardrails/detect-audio","href":"/api-reference/guardrails-api-reference/endpoint/detect-audio"},{"title":"Guardrail Detect Image","openapi":"POST /guardrails/guardrail/detect-image","href":"/api-reference/guardrails-api-reference/endpoint/guardrail-detect-image"},{"title":"Guardrail Detect Audio","openapi":"POST /guardrails/guardrail/detect-audio","href":"/api-reference/guardrails-api-reference/endpoint/guardrail-detect-audio"},{"openapi":"POST /guardrails/pii","title":"PII anonymization and de-anonymization","href":"/api-reference/guardrails-api-reference/endpoint/pii"},{"openapi":"POST /guardrails/hallucination","title":"Detect Hallucination","href":"/api-reference/guardrails-api-reference/endpoint/hallucination"},{"openapi":"POST /guardrails/adherence","title":"Guardrails Adherence","href":"/api-reference/guardrails-api-reference/endpoint/adherence"},{"openapi":"POST /guardrails/relevancy","title":"Guardrails Relevancy","href":"/api-reference/guardrails-api-reference/endpoint/relevancy"},{"title":"Add Guardrail","openapi":"POST /guardrails/add-guardrail","href":"/api-reference/guardrails-api-reference/endpoint/add-guardrail"},{"title":"Get Guardrail","openapi":"GET /guardrails/get-guardrail","href":"/api-reference/guardrails-api-reference/endpoint/get-guardrail"},{"title":"Modify Guardrail","openapi":"PATCH /guardrails/modify-guardrail","href":"/api-reference/guardrails-api-reference/endpoint/modify-guardrail"},{"title":"Delete Guardrail","openapi":"DELETE /guardrails/delete-guardrail","href":"/api-reference/guardrails-api-reference/endpoint/delete-guardrail"},{"title":"List Guardrails","openapi":"GET /guardrails/list-guardrails","href":"/api-reference/guardrails-api-reference/endpoint/list-guardrails"},{"title":"Detect with Guardrail","openapi":"POST /guardrails/guardrail/detect","href":"/api-reference/guardrails-api-reference/endpoint/detect-using-guardrail"},{"title":"Batch Detect with Guardrail","openapi":"POST /guardrails/guardrail/batch/detect","href":"/api-reference/guardrails-api-reference/endpoint/batch-detect-using-guardrail"},{"title":"Guardrail Scan URL","openapi":"POST /guardrails/guardrail/scan-url","href":"/api-reference/guardrails-api-reference/endpoint/guardrail-scan-url"},{"title":"Guardrail Scan PDF","openapi":"POST /guardrails/guardrail/scan-pdf","href":"/api-reference/guardrails-api-reference/endpoint/guardrail-scan-pdf"}]},{"group":"π€ Models API (Endpoints)","pages":[{"openapi":"POST /models/add-model","title":"Create Model","href":"/api-reference/models-api-reference/endpoint/add-model"},{"openapi":"GET /models/get-model","title":"Get Model","href":"/api-reference/models-api-reference/endpoint/get-model"},{"openapi":"PATCH /models/modify-model","title":"Modify Model","href":"/api-reference/models-api-reference/endpoint/modify-model"},{"openapi":"DELETE /models/delete-model","title":"Delete Model","href":"/api-reference/models-api-reference/endpoint/delete-model"},{"title":"List Models","openapi":"GET /models/list-models","href":"/api-reference/models-api-reference/endpoint/list-models"},{"openapi":"GET /models/get-defaults","title":"Get Defaults","href":"/api-reference/models-api-reference/endpoint/get-defaults"}]},{"group":"π΄ Red Team API","pages":[{"openapi":"POST /rt/redteam","title":"Run Redteam","href":"/api-reference/redteam-v2-api-reference/endpoint/run-redteam"},{"openapi":"POST /rt/model/redteam","title":"Run Redteam with saved model","href":"/api-reference/redteam-v2-api-reference/endpoint/run-redteam-saved-model"},{"openapi":"POST /rt/redteam/jailbreak","title":"Run Jailbreak Benchmark","href":"/api-reference/redteam-v2-api-reference/endpoint/run-jailbreak"},{"openapi":"POST /rt/model/redteam/jailbreak","title":"Run Jailbreak Benchmark with saved model","href":"/api-reference/redteam-v2-api-reference/endpoint/run-jailbreak-saved-model"},{"openapi":"POST /rt/threat-modeling","title":"Run Threat Modeling","href":"/api-reference/redteam-v2-api-reference/endpoint/run-threat-modeling"},{"openapi":"POST /rt/threat-modeling/categories","title":"Run Threat Modeling Categories","href":"/api-reference/redteam-v2-api-reference/endpoint/run-threat-modeling-categories"},{"openapi":"POST /rt/threat-modeling/data","title":"Run Threat Modeling Data","href":"/api-reference/redteam-v2-api-reference/endpoint/run-threat-modeling-data"},{"openapi":"POST /rt/playground","title":"Run Playground","href":"/api-reference/redteam-v2-api-reference/endpoint/run-playground"},{"openapi":"POST /rt/model/playground","title":"Run Playground with saved model","href":"/api-reference/redteam-v2-api-reference/endpoint/run-playground-saved-model"},{"openapi":"POST /rt/eval","title":"Submit Eval Batch","href":"/api-reference/redteam-v2-api-reference/endpoint/submit-eval"},{"openapi":"POST /rt/leaderboard","title":"Run Leaderboard","href":"/api-reference/redteam-v2-api-reference/endpoint/run-leaderboard"},{"openapi":"POST /rt/model/leaderboard","title":"Run Leaderboard with saved model","href":"/api-reference/redteam-v2-api-reference/endpoint/run-leaderboard-saved-model"},{"openapi":"GET /rt/runs/{run_id}","title":"Get Run Status","href":"/api-reference/redteam-v2-api-reference/endpoint/get-run-status"},{"openapi":"GET /rt/runs/{run_id}/records","title":"Get Run Records","href":"/api-reference/redteam-v2-api-reference/endpoint/get-run-records"},{"openapi":"GET /rt/runs/{run_id}/results","title":"Get Run Results","href":"/api-reference/redteam-v2-api-reference/endpoint/get-run-results"},{"openapi":"GET /rt/runs/{run_id}/compliance/{framework_id}","title":"Get Compliance Report","href":"/api-reference/redteam-v2-api-reference/endpoint/get-compliance-report"},{"openapi":"POST /rt/runs/{run_id}/signal/{name}","title":"Send Signal","href":"/api-reference/redteam-v2-api-reference/endpoint/send-signal"},{"openapi":"POST /rt/runs/{run_id}/resume","title":"Resume Run","href":"/api-reference/redteam-v2-api-reference/endpoint/resume-run"},{"openapi":"GET /rt/runs/{run_id}/stream","title":"Stream Run Events","href":"/api-reference/redteam-v2-api-reference/endpoint/stream-run-events"},{"openapi":"GET /wss/redteam/v1/logs/tasks/{owner_id}/{job_id}/{model_folder}/app.log","playground":"none","title":"Stream Run Logs (WebSocket)","href":"/api-reference/redteam-v2-api-reference/endpoint/stream-run-logs"},{"openapi":"GET /rt/datasets/{dataset_id}","title":"Get Dataset","href":"/api-reference/redteam-v2-api-reference/endpoint/get-dataset"},{"openapi":"POST /rt/model-health","title":"Model Health","href":"/api-reference/redteam-v2-api-reference/endpoint/model-health"},{"openapi":"POST /rt/model/model-health","title":"Model Health with saved model","href":"/api-reference/redteam-v2-api-reference/endpoint/model-health-saved"},{"openapi":"GET /redteam/relay/v1/relay/bridge","playground":"none","title":"Connect a relay bridge (WebSocket)","href":"/api-reference/redteam-v2-api-reference/endpoint/relay-bridge-connect"},{"openapi":"GET /redteam/relay/v1/relay/bridges/{bridge_id}/status","title":"Relay bridge status","href":"/api-reference/redteam-v2-api-reference/endpoint/relay-bridge-status"},{"openapi":"POST /rt/findings","title":"Get findings based on summary","href":"/api-reference/redteam-v2-api-reference/endpoint/get-findings"},{"openapi":"POST /rt/risk-mitigation/system-prompt","title":"Generate a system prompt for risk mitigation based on red teaming test results","href":"/api-reference/redteam-v2-api-reference/endpoint/risk-mitigation-system-prompt"},{"openapi":"POST /rt/risk-mitigation/guardrails-policy","title":"Generate a guardrail and policy for risk mitigation based on summary","href":"/api-reference/redteam-v2-api-reference/endpoint/risk-mitigation-guardrails-policy"},{"openapi":"GET /rt/health","title":"Red Team Health","href":"/api-reference/redteam-v2-api-reference/endpoint/health"},{"openapi":"GET /rt/status-check","title":"Red Team Status Check","href":"/api-reference/redteam-v2-api-reference/endpoint/status-check"}]},{"group":"π Deployments API","pages":[{"openapi":"POST /deployments/add-deployment","title":"Create Deployment","href":"/api-reference/deployments-api-reference/endpoint/add-deployment"},{"openapi":"GET /deployments/get-deployment","title":"Get Deployment","href":"/api-reference/deployments-api-reference/endpoint/get-deployment"},{"openapi":"PATCH /deployments/modify-deployment","title":"Modify Deployment","href":"/api-reference/deployments-api-reference/endpoint/modify-deployment"},{"openapi":"DELETE /deployments/delete-deployment","title":"Delete Deployment","href":"/api-reference/deployments-api-reference/endpoint/delete-deployment"},{"title":"List Deployments","openapi":"GET /deployments/list-deployments","href":"/api-reference/deployments-api-reference/endpoint/list-deployments"},{"openapi":"GET /deployments/get-allowed-config","title":"Get Allowed Config","href":"/api-reference/deployments-api-reference/endpoint/get-allowed-config"}]},{"group":"π AI Proxy API","pages":[{"openapi":"POST /ai-proxy/chat/completions","title":"AI Chat Completions Proxy Endpoint","href":"/api-reference/ai-proxy-api-reference/endpoint/chat-completions"},{"openapi":"POST /ai-proxy/completions","title":"AI Completions Proxy Endpoint","href":"/api-reference/ai-proxy-api-reference/endpoint/completions"}]},{"group":"π MCP Hub API","pages":[{"openapi":"POST /mcp-hub/scan","title":"Start a New Vulnerability Scan","href":"/api-reference/mcp-hub-api-reference/endpoint/scan"},{"openapi":"POST /mcp-hub/scan/hosted","title":"Scan a Hosted MCP Server","href":"/api-reference/mcp-hub-api-reference/endpoint/hosted-scan"},{"openapi":"POST /mcp-hub/scan/hosted/config","title":"Scan MCP Servers from Config JSON","href":"/api-reference/mcp-hub-api-reference/endpoint/hosted-scan-from-config"},{"openapi":"GET /mcp-hub/scan/{job_id}/status","title":"Get Scan Job Status","href":"/api-reference/mcp-hub-api-reference/endpoint/get-status"},{"openapi":"GET /mcp-hub/scan/{job_id}/results","title":"Get Complete Scan Results","href":"/api-reference/mcp-hub-api-reference/endpoint/get-results"},{"openapi":"GET /mcp-hub/scans","title":"List Scans","href":"/api-reference/mcp-hub-api-reference/endpoint/list-scans"},{"openapi":"GET /mcp-hub/dashboard-stats","title":"Get MCP Hub Scan Statistics","href":"/api-reference/mcp-hub-api-reference/endpoint/dashboard-stats"},{"openapi":"GET /mcp-hub/usage","title":"Get MCP Hub API Usage Summary","href":"/api-reference/mcp-hub-api-reference/endpoint/usage"}]},{"group":"ποΈ MCP Registry Servers API","pages":[{"openapi":"POST /mcp-registry/add-server","title":"Create MCP Registry Server","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/add-server"},{"openapi":"POST /mcp-registry/bulk-add-servers","title":"Bulk-create MCP Registry Servers (atomic)","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/bulk-add-servers"},{"openapi":"GET /mcp-registry/get-server","title":"Get MCP Registry Server","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/get-server"},{"openapi":"PATCH /mcp-registry/modify-server","title":"Update MCP Registry Server","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/modify-server"},{"openapi":"DELETE /mcp-registry/delete-server","title":"Delete MCP Registry Server","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/delete-server"},{"openapi":"GET /mcp-registry/list-servers","title":"List MCP Registry Servers","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/list-servers"},{"openapi":"GET /mcp-registry/list-gateways-by-server","title":"List Gateways by Registry Server","href":"/api-reference/mcp-registry-servers-api-reference/endpoint/list-gateways-by-server"}]},{"group":"πͺ MCP Gateways API","pages":[{"openapi":"POST /mcp-gateway/add-gateway","title":"Create MCP Gateway","href":"/api-reference/mcp-gateways-api-reference/endpoint/add-gateway"},{"openapi":"GET /mcp-gateway/get-gateway","title":"Get MCP Gateway","href":"/api-reference/mcp-gateways-api-reference/endpoint/get-gateway"},{"openapi":"GET /mcp-gateway/get-gateway-config","title":"Get Expanded MCP Gateway Configuration","href":"/api-reference/mcp-gateways-api-reference/endpoint/get-gateway-config"},{"openapi":"PATCH /mcp-gateway/modify-gateway","title":"Update MCP Gateway","href":"/api-reference/mcp-gateways-api-reference/endpoint/modify-gateway"},{"openapi":"DELETE /mcp-gateway/delete-gateway","title":"Delete MCP Gateway","href":"/api-reference/mcp-gateways-api-reference/endpoint/delete-gateway"},{"openapi":"GET /mcp-gateway/list-gateways","title":"List MCP Gateways","href":"/api-reference/mcp-gateways-api-reference/endpoint/list-gateways"}]},{"group":"π§ͺ MCP Playground API","pages":[{"openapi":"POST /mcp-playground/test-server","title":"Test MCP Server Connectivity","href":"/api-reference/mcp-playground-api-reference/endpoint/test-server"},{"openapi":"GET /mcp-playground/get-tools","title":"Get MCP Server Tools","href":"/api-reference/mcp-playground-api-reference/endpoint/get-tools"},{"openapi":"POST /mcp-playground/call-tool","title":"Call MCP Server Tool","href":"/api-reference/mcp-playground-api-reference/endpoint/call-tool"}]},{"group":"π Skill Scanner API","pages":[{"openapi":"POST /skill-hub/scan","title":"Submit a Skill Scan","href":"/api-reference/skill-scanner-api-reference/endpoint/scan"},{"openapi":"GET /skill-hub/scans/{scan_id}","title":"Get Skill Scan","href":"/api-reference/skill-scanner-api-reference/endpoint/get-scan"},{"openapi":"GET /skill-hub/scans/{scan_id}/report","title":"Get Skill Scan Report","href":"/api-reference/skill-scanner-api-reference/endpoint/get-report"},{"openapi":"GET /skill-hub/scans","title":"List Skill Scans","href":"/api-reference/skill-scanner-api-reference/endpoint/list-scans"},{"openapi":"GET /skill-hub/healthz","title":"Skill Scanner Health","href":"/api-reference/skill-scanner-api-reference/endpoint/health"}]},{"group":"βοΈ Compliance API","pages":[{"openapi":"POST /compliance/test-connection","title":"Test Compliance Connection","href":"/api-reference/compliance-api-reference/endpoint/test-connection"},{"openapi":"POST /compliance/add-scan","title":"Add Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/add-scan"},{"openapi":"GET /compliance/get-scan","title":"Get Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/get-scan"},{"openapi":"PATCH /compliance/modify-scan","title":"Modify Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/modify-scan"},{"openapi":"DELETE /compliance/delete-scan","title":"Delete Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/delete-scan"},{"openapi":"GET /compliance/list-scans","title":"List Compliance Scans","href":"/api-reference/compliance-api-reference/endpoint/list-scans"},{"openapi":"POST /compliance/start-scan","title":"Start Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/start-scan"},{"openapi":"POST /compliance/pause-scan","title":"Pause Compliance Scan","href":"/api-reference/compliance-api-reference/endpoint/pause-scan"},{"openapi":"GET /compliance/list-log-files","title":"List Compliance Log Files","href":"/api-reference/compliance-api-reference/endpoint/list-log-files"},{"openapi":"GET /compliance/get-message","title":"Get Compliance Message","href":"/api-reference/compliance-api-reference/endpoint/get-message"}]},{"group":"π Leaderboard API","pages":[{"openapi":"GET /leaderboard/v2/models-list","title":"v2 Models List","href":"/api-reference/leaderboard-api-reference/endpoint/v2/models/models-list"},{"openapi":"GET /leaderboard/v2/scores","title":"v2 Scores list","href":"/api-reference/leaderboard-api-reference/endpoint/v2/scores/scores-list"},{"openapi":"GET /leaderboard/v2/scores/{modelName}","title":"v2 Model Score","href":"/api-reference/leaderboard-api-reference/endpoint/v2/scores/model-score"},{"openapi":"GET /leaderboard/v2/details/{modelName}","title":"v2 Model Detail","href":"/api-reference/leaderboard-api-reference/endpoint/v2/details/model-detail"},{"openapi":"GET /leaderboard/v2/summary/{modelName}","title":"v2 Model Summary","href":"/api-reference/leaderboard-api-reference/endpoint/v2/summary/model-summary"},{"openapi":"GET /leaderboard/v2/rank/{modelName}","title":"v2 Model Rank","href":"/api-reference/leaderboard-api-reference/endpoint/v2/rank/model-rank"},{"openapi":"GET /leaderboard/v2/percentiles","title":"v2 Models Risk Percentiles","href":"/api-reference/leaderboard-api-reference/endpoint/v2/percentiles/models-risk-percentiles"}]},{"group":"ποΈ Archived","pages":[{"group":"Datasets (Legacy)","pages":[{"openapi":"POST /datasets/add-task","title":"Datasets Add Task","href":"/api-reference/datasets-api-reference/endpoint/add-task"},{"openapi":"GET /datasets/task-status","title":"Datasets Get Task Status","href":"/api-reference/datasets-api-reference/endpoint/task-status"},{"openapi":"GET /datasets/get-task","title":"Datasets Get Task","href":"/api-reference/datasets-api-reference/endpoint/get-task"},{"openapi":"GET /datasets/get-datacard","title":"Datasets Get Datacard","href":"/api-reference/datasets-api-reference/endpoint/get-datacard"},{"openapi":"GET /datasets/get-dataset","title":"Datasets Get Dataset","href":"/api-reference/datasets-api-reference/endpoint/get-dataset"},{"openapi":"GET /datasets/get-summary","title":"Datasets Get Summary","href":"/api-reference/datasets-api-reference/endpoint/get-summary"},{"title":"List Tasks","openapi":"GET /datasets/list-tasks","href":"/api-reference/datasets-api-reference/endpoint/list-tasks"}]},{"group":"Guardrails Policy (Legacy)","pages":[{"title":"Add Policy (Legacy)","openapi":"POST /guardrails/add-policy","href":"/api-reference/guardrails-api-reference/endpoint/add-policy"},{"title":"Get Policy (Legacy)","openapi":"GET /guardrails/get-policy","href":"/api-reference/guardrails-api-reference/endpoint/get-policy"},{"title":"Modify Policy (Legacy)","openapi":"PATCH /guardrails/modify-policy","href":"/api-reference/guardrails-api-reference/endpoint/modify-policy"},{"title":"Delete Policy (Legacy)","openapi":"DELETE /guardrails/delete-policy","href":"/api-reference/guardrails-api-reference/endpoint/delete-policy"},{"title":"List Policies (Legacy)","openapi":"GET /guardrails/list-policies","href":"/api-reference/guardrails-api-reference/endpoint/list-policies"},{"title":"Detect with Policy (Legacy)","openapi":"POST /guardrails/policy/detect","href":"/api-reference/guardrails-api-reference/endpoint/detect-using-policy"},{"title":"Detect Image with Policy (Legacy)","openapi":"POST /guardrails/policy/detect-image","href":"/api-reference/guardrails-api-reference/endpoint/detect-image-using-policy"},{"title":"Detect Audio with Policy (Legacy)","openapi":"POST /guardrails/policy/detect-audio","href":"/api-reference/guardrails-api-reference/endpoint/detect-audio-using-policy"},{"title":"Policy Batch Detect (Legacy)","openapi":"POST /guardrails/policy/batch/detect","href":"/api-reference/guardrails-api-reference/endpoint/batch-detect-using-policy"},{"title":"Policy Scan URL (Legacy)","openapi":"POST /guardrails/policy/scan-url","href":"/api-reference/guardrails-api-reference/endpoint/policy-scan-url"},{"title":"Policy Scan PDF (Legacy)","openapi":"POST /guardrails/policy/scan-pdf","href":"/api-reference/guardrails-api-reference/endpoint/policy-scan-pdf"}]},{"group":"Red Team (Legacy)","pages":[{"openapi":"GET /redteam/health","title":"Redteam Health","href":"/api-reference/redteam-api-reference/endpoint/health"},{"openapi":"POST /redteam/v3/model-health","title":"Model Health (V3)","href":"/api-reference/redteam-api-reference/endpoint/v3-model-health"},{"openapi":"POST /redteam/model/model-health","title":"Model Health of saved model","href":"/api-reference/redteam-api-reference/endpoint/model-health-saved"},{"openapi":"POST /redteam/v3/add-custom-task","title":"Add Custom Task (V3)","href":"/api-reference/redteam-api-reference/endpoint/v3-add-custom-task"},{"openapi":"POST /redteam/v3/model/add-custom-task","title":"Add Custom Task with saved model (V3)","href":"/api-reference/redteam-api-reference/endpoint/v3-model-add-custom-task"},{"openapi":"PATCH /redteam/cancel-task","title":"Cancel Task","href":"/api-reference/redteam-api-reference/endpoint/cancel-task"},{"openapi":"GET /redteam/get-task","title":"Get Task","href":"/api-reference/redteam-api-reference/endpoint/get-task"},{"openapi":"GET /redteam/task-status","title":"Get Task Status","href":"/api-reference/redteam-api-reference/endpoint/get-task-status"},{"openapi":"GET /redteam/download-link","title":"Get Download Link","href":"/api-reference/redteam-api-reference/endpoint/get-download-link"},{"openapi":"GET /redteam/v3/results/summary","title":"Get Task Results Summary","href":"/api-reference/redteam-api-reference/endpoint/get-results-summary"},{"openapi":"GET /redteam/v3/results/summary/{test_type}","title":"Get Task Results Summary of a specific test type","href":"/api-reference/redteam-api-reference/endpoint/get-summary-test-type"},{"openapi":"GET /redteam/v3/results/details","title":"Get Task Results Details","href":"/api-reference/redteam-api-reference/endpoint/get-all-details"},{"openapi":"GET /redteam/v3/results/details/{test_type}","title":"Get Task Results Details of a specific test type","href":"/api-reference/redteam-api-reference/endpoint/get-details-test-type"},{"openapi":"POST /redteam/findings","title":"Get findings based on summary","href":"/api-reference/redteam-api-reference/endpoint/get-findings"},{"openapi":"POST /redteam/risk-mitigation/system-prompt","title":"Generate a system prompt for risk mitigation based on red teaming test results","href":"/api-reference/redteam-api-reference/endpoint/risk-mitigation-system-prompt"},{"openapi":"POST /redteam/risk-mitigation/guardrails-policy","title":"Generate a guardrail and policy for risk mitigation based on summary","href":"/api-reference/redteam-api-reference/endpoint/risk-mitigation-guardrails-policy"},{"title":"List All Tasks","openapi":"GET /redteam/list-tasks","href":"/api-reference/redteam-api-reference/endpoint/list-all-tasks"},{"openapi":"POST /redteam/model-health","title":"Model Health","href":"/api-reference/redteam-api-reference/endpoint/model-health"},{"openapi":"POST /redteam/v2/add-task","title":"Add Task","href":"/api-reference/redteam-api-reference/endpoint/add-task"},{"openapi":"POST /redteam/v2/model/add-task","title":"Add Task with saved model","description":null,"href":"/api-reference/redteam-api-reference/endpoint/model-add-task"},{"openapi":"POST /redteam/v2/add-custom-task","title":"Add Custom Task","href":"/api-reference/redteam-api-reference/endpoint/add-custom-task"},{"openapi":"POST /redteam/v2/model/add-custom-task","title":"Add Custom Task with saved model","description":null,"href":"/api-reference/redteam-api-reference/endpoint/model-add-custom-task"}]},{"group":"Leaderboard","pages":[{"openapi":"GET /leaderboard/models-list","title":"v1 Models List","href":"/api-reference/leaderboard-api-reference/endpoint/v1/models/models-list"},{"openapi":"GET /leaderboard/scores","title":"v1 Scores list","href":"/api-reference/leaderboard-api-reference/endpoint/v1/scores/scores-list"},{"openapi":"GET /leaderboard/scores/{modelName}","title":"v1 Model Score","href":"/api-reference/leaderboard-api-reference/endpoint/v1/scores/model-score"},{"openapi":"GET /leaderboard/details/{modelName}","title":"v1 Model Detail","href":"/api-reference/leaderboard-api-reference/endpoint/v1/details/model-detail"},{"openapi":"GET /leaderboard/summary/{modelName}","title":"v1 Model Summary","href":"/api-reference/leaderboard-api-reference/endpoint/v1/summary/model-summary"},{"openapi":"GET /leaderboard/rank/{modelName}","title":"v1 Model Rank","href":"/api-reference/leaderboard-api-reference/endpoint/v1/rank/model-rank"},{"openapi":"GET /leaderboard/percentiles","title":"v1 Models Risk Percentiles","href":"/api-reference/leaderboard-api-reference/endpoint/v1/percentiles/models-risk-percentiles"}]},{"group":"Policy Atomizer (Legacy)","pages":[{"title":"Policy Atomizer","openapi":"POST /guardrails/policy-atomizer","href":"/api-reference/coc-api-reference/endpoint/policy-atomizer"}]}]}]}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/sdk-reference/python/introduction"}]},{"tab":"Schema and Postman","pages":[{"title":"Schema and Postman","href":"/schema-and-postman/introduction"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/introduction"}]}]},"basePath":"","title":"Add Custom Task - Enkrypt AI","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}