Authorizations
Your unique Avido API key
Your unique Avido Application ID
Body
application/json
Request body for creating a new task
The title of the task
Minimum length:
1Example:
"Credit Card Block"
A short description of the task
Minimum length:
1Example:
"The user wants to block their credit card"
The type of task
Available options:
ADVERSARY, NORMAL Example:
"ADVERSARY"
ID of the topic this task belongs to
Example:
"789e4567-e89b-12d3-a456-426614174000"
Optional metadata to associate with the task when creating it (e.g., external identifiers).
Example:
{ "customerId": "1", "priority": "high" }JSON schema that defines the structure for user prompts that should be generated for tests
Example:
{
"type": "object",
"properties": {
"intent": { "type": "string" },
"urgency": {
"type": "string",
"enum": ["low", "medium", "high"]
}
},
"required": ["intent"]
}Response
Successfully created task
Successful response containing the task data
A task that represents a specific job-to-be-done by the LLM in the user application.