qualiloop
v0.2.0Run QualiLoop tests and release gates, read problems and write tests for your AI agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_projects
The projects in your organization, with the number the app shows for each. Every other action takes a project by this number or by name. Call this first when you do not know which project the user means. 'total' is how many projects exist; quote it for a count, never the highest number.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most projects to return. |
get_project
One project at a glance: whether its agent is connected (the endpoint QualiLoop calls and where it reads traces), whether live traffic is on, and how its tests went over the last days: tests finished and passed (a test passes when none of its conversations has a major problem; a stopped or failed test does not pass), how many ended in each outcome, the pass rate, major and minor problems, and the most common problem categories. Start here for "how is this agent doing".
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
window_days | integer | Days of results to count. |
get_dashboard
The project dashboard for one period and one source, with the numbers the dashboard page shows: conversations judged, clean and with minor or major problems; tests by their worst verdict; the average of each quality score; turns, tokens and cost per turn, cached input share and the most expensive tools; the problem categories found in the period with their share of conversations; the change against the period before; each schedule's runs; and the latest tests. Choose a period (today, last_7_days, last_30_days, all_time) or a custom range with from and to, the source (tests or live traffic) and…
| Parameter | Type | Description |
|---|---|---|
from | Start of a custom period: a date (YYYY-MM-DD) or an ISO date and time. | |
period | today, last_7_days (the default), last_30_days, all_time, or custom with from and to. Giving from or to alone means custom. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
source | string | tests for Test Lab runs, live for the agent's real traffic; never mixed. |
timezone | string | The IANA time zone 'today' is counted in, such as Europe/Berlin. |
to | End of a custom period: a date (YYYY-MM-DD, the whole day counts) or an ISO date and time. |
create_project
Create a project in your organization: one project holds one agent. It starts with live traffic off and no agent connected; connect the agent with the connect steps. Create one only when the user asks for it or has no project yet. Admins only.
| Parameter | Type | Description |
|---|---|---|
name * | string | The project's name, usually the agent's. |
description |
get_ui_tools
The agent's tools whose output the customer's app shows as a component, such as a chart or a card (Project Settings, Judging, Tools shown as UI): their output is not checked as an answer. Returns the saved list, and the tools found in the project's recent traces with how often each was called and whether its name suggests a UI tool. Change the list with set_ui_tools.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
set_ui_tools
Replace the list of the agent's tools whose output the customer's app shows as a component (a chart, a card): their output is then not checked as an answer. Give the whole list; names are kept as given, duplicates dropped. Read the current list and the tools seen in traces with get_ui_tools first.
| Parameter | Type | Description |
|---|---|---|
tools * | array | Every tool name to show as UI, exactly as the agent calls it. Replaces the saved list; an empty list clears it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_project
Delete a project with its tests, runs, conversations and results, as Project Settings does. Admins only. Always name the project the user asked to delete. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's next message confirms that exact item. If several items could be meant,…
| Parameter | Type | Description |
|---|---|---|
project * | The project's number (as the app shows it, e.g. 12 or '#12') or its name. |
get_knowledge
What QualiLoop knows about the agent under test: its general description, the capabilities it has confirmed (what the agent can do for a user), the coverage of tests over them (how much of the agent the tests reach), each capability marked covered or not with the names of the uncovered ones, and whether an exploration is running. Use it to find what is not tested yet before writing tests.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most capabilities to list. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
report_change
Tell QualiLoop the agent changed, after you change its prompt, tools, flows or documentation. QualiLoop works out which parts of the agent the change touches, treats what it knew about them as possibly out of date, and, unless explore is false, explores them again so the next tests aim at what changed. Call it once per change you deploy, with a precise description. Reports within an hour of the last one join that change. Tell the user what the exploration costs; when the answer says none was started, tell them why (exploration_note).
| Parameter | Type | Description |
|---|---|---|
description | What changed in the agent, in a sentence or two: a prompt, a tool, a flow, the documentation it answers from. The more precise, the narrower the re-check. | |
explore | boolean | Explore the changed part of the agent again: up to 24 conversation credits (none for the project's first exploration), at most 2 explorations started by changes per project a day. False only records i… |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_knowledge
The items of System knowledge, as the System knowledge page lists them for this user: for everyone the capabilities (what the agent can do for a user), entity groups and entities, each with its id, name, description and whether it is confirmed; a super admin sees every section with each item's statuses (intended, observed, reported, projected). Filter by section. Use get_knowledge for the summary and coverage.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most items to return. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
section | Only one section: capability, entity_group or entity for everyone; super admins also fact, component, state, action and transition. |
update_knowledge_general
Change the General part of System knowledge: the agent's name, its summary or its description. Only the fields you give change; an empty text clears a field. Test generation and judging read these, so write what is true of the agent.
| Parameter | Type | Description |
|---|---|---|
description | What the agent does and for whom. | |
name | The agent's name. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
summary | What the agent is, in a sentence or two. |
start_exploration
Start a plain exploration of the agent: 3 rounds of up to 8 conversations that QualiLoop plans to learn what the agent does, filling System knowledge. It is not judged. It costs up to 24 conversation credits (the project's first exploration is free) and takes minutes; follow it with list_explorations. Only one runs at a time per project. To re-check what one change touched, use report_change instead.
| Parameter | Type | Description |
|---|---|---|
note | Optional: what to look at more closely. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_explorations
The project's latest explorations, newest first: how each was started (by hand, by a change, automatically), its status, its round, and when it started and finished. Use it to follow one start_exploration or report_change started.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_sources
The sources System knowledge is read from, as the Sources tab lists them: the agent's system prompts, its tools and its documentation. Each has an id, a kind, a name, where it came from (origin: code from the coding agent setup, manual when added by hand, connector from the connection settings, trace when first seen in traces), its current version, whether it is retired, and when a conversation last showed it. Use get_source to read one.
| Parameter | Type | Description |
|---|---|---|
include_retired | boolean | Also list retired sources. |
kind | Only sources of this kind. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
get_source
One source of System knowledge: its current text (a system prompt as written, with its placeholders; the tools; a document), its versions, the runs that ran on them, and the knowledge items its current version states. version shows an older version's text instead, and compare_to adds a unified diff from that version to the one shown, as the Sources tab's Diff does. Long texts are cut at max_chars.
| Parameter | Type | Description |
|---|---|---|
source * | integer | The source's id, as list_sources shows it. |
compare_to | Also return a unified diff from this version to the one shown, by its number (for example the version before it). | |
max_chars | integer | Most characters of the text (or the diff) to return; the rest is cut. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
version | Show this version's text instead of the current one, by its number. |
save_documentation
Add a source of System knowledge by hand, as the Sources tab does: a document the agent answers from (a policy, an FAQ, a knowledge base page; kind documentation, the default) or a system prompt the agent is given (kind system_prompt). The same kind and name again saves a new version of it; that is how a source added by hand or seen in traces is edited. QualiLoop reads it into the knowledge and the judge reviews conversations against it. Sources in the agent's code are sent by the coding agent setup instead, and ones from the connection settings are changed there: saving over either is refused…
| Parameter | Type | Description |
|---|---|---|
name * | string | The source's name or path. The same kind and name again saves a new version. |
text * | string | The source's text, verbatim. |
kind | string | documentation for a document the agent answers from; system_prompt for a prompt the agent is given, as written, with its placeholders. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
retire_source
Take a source added by hand or seen in traces out of force: what it stated stops counting as intended, and the judge no longer reviews against it. Its versions are kept, and it can be restored on the Sources tab. A source from the agent's code is retired by running the coding agent setup without it; one from the connection settings is changed there.
| Parameter | Type | Description |
|---|---|---|
source * | integer | The source's id, as list_sources shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
restore_source
Put a retired source back in force with the version it had, as Restore on the Sources tab does: what it states counts as intended again and the judge reviews against it. A source from the agent's code comes back by running the coding agent setup with it; one from the connection settings is changed there.
| Parameter | Type | Description |
|---|---|---|
source * | integer | The retired source's id, as list_sources shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
link_source_component
Tie a system prompt source to the agent or subagent it instructs (a component of System knowledge), or untie it with component null, as the Component part of a source on the Sources tab does. Only a system prompt is tied to a component. Name the component exactly; nothing is guessed.
| Parameter | Type | Description |
|---|---|---|
component * | The agent or subagent the prompt instructs: a component of System knowledge, by its id or exact name. null removes the link. | |
source * | integer | The system prompt source's id, as list_sources shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_private_objects
The project's private objects: values the simulated user personally holds (account numbers, member ids, credentials) that tests use and exploration can never find. Lists each category's name and description and each item's id, description and, for an item of several fields, the field names. Values are never returned, here or by any action; the user reads them in the app. Use set_private_objects to add or change them.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
set_private_objects
Add or change the project's private objects, the values the simulated user personally holds, as the private objects section of System knowledge does. Each category is matched by name: a new name adds a category, rename_to renames one. Each item without an id is added (it needs a value); an item with an id changes that item, and left without a value it keeps the one it has. Categories and items you do not name are kept; delete_private_objects removes them. The reply lists names and ids only, never values: do not repeat a value back to the user.
| Parameter | Type | Description |
|---|---|---|
categories * | array | Categories to add or change. Categories not named are kept. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_private_objects
Delete a private object category with all its items, or only the items named by id, as the private objects section of System knowledge does. Tests stop using the deleted values. Look the category and its items up with list_private_objects first. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it o…
| Parameter | Type | Description |
|---|---|---|
category * | string | The category's name, as list_private_objects shows it. |
items | Only these items, by id; left out, the whole category with its items. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_suites
The project's suites, Core first: each suite's id, name, how many tests it holds and how its last run went. A suite is a named set of saved tests that runs as one batch; the Core suite is the project's main regression suite. Use the id or name with run_suite or list_tests.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_tests
The project's saved tests (Test Lab's library), newest change first: each test's id, name, mode (regular, red_team, bias), its category, whether it is new, the suites it is in, the start of its instructions, and how its last run went. Filter by suite, mode, category or name, or to new tests only. Use the ids with run_tests, get_test and update_test.
| Parameter | Type | Description |
|---|---|---|
category | A regular test category (id or name, as list_test_categories shows it). Red team and bias tests are grouped by their attack and bias types instead. | |
limit | integer | Most tests to return. |
mode | Only tests of this mode. | |
new_only | boolean | Only tests a generation wrote that nobody has opened yet. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
search | Only tests whose name contains this. | |
sort | string | updated: latest change first; name: A to Z; last_run: latest run first; runs: most runs first. |
suite | Only the tests of this suite (id or name). |
get_test
One saved test in full: its instructions, persona, steps, how many conversations and turns it runs, its category, variables, mode settings (attack type, bias groups) and voice, its suites, and its last runs with their outcome. Read it before editing a test with update_test.
| Parameter | Type | Description |
|---|---|---|
test * | integer | The saved test's id, as list_tests shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
create_test
Save a new test in the project's Test Lab library, written by hand. Get tests from generate_tests instead unless the user wants one exact case. Write the instructions as the simulated user's goal and behaviour ("A customer whose order arrived damaged asks for a refund and pushes back once"), not as code, and give a regular test scripted steps: one instruction per message of the simulated user, in order. Leave a red team test unscripted. The test is saved, not run: call run_tests with its id to run it. A bias test compares two groups on the same requests.
| Parameter | Type | Description |
|---|---|---|
instructions * | string | What the test checks, written as what the simulated user wants and how they behave. QualiLoop plays that user against the agent. |
name * | string | A short name for the test. |
attack_type | For red_team only. | |
bias_type | For bias only: what the two groups differ in. | |
category | For regular only: the test category (id or name, as list_test_categories shows it). Left out, QualiLoop picks one from the name. | |
channel | text (default) or voice: the simulated user speaks. Voice needs ElevenLabs. | |
conversations | integer | Conversations per run (prompts per run for single; matched pairs of one conversation per group for bias). |
group_a | For bias only: the first group compared. | |
group_b | For bias only: the second group compared. | |
language | string | |
max_turns | integer | Most turns of one conversation. |
mode | string | regular for normal use; red_team for attacks (then give attack_type); bias to compare how the agent treats two groups (then give bias_type, group_a, group_b). |
persona | Who the simulated user is. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
send_steps_literally | Send each scripted step exactly as written, instead of the simulated user phrasing it in its own words. | |
shape | string | conversation: a back and forth of up to max_turns; single: one message per prompt. |
steps | array | Scripted steps, one instruction per message of the simulated user, followed in order. Give them for a regular test; leave them out for red_team. |
suites | array | Suites to add the test to (ids or names). |
variable_mode | How each conversation picks a variable's value: random (default) or sequential. | |
variables | Values put into {{name}} placeholders in the instructions and steps, as {"name": ["value", ...]}: each conversation takes one value per variable. | |
voice_id | The ElevenLabs voice the simulated user speaks with; empty for the default. |
update_test
Change a saved test: its name, instructions, persona, mode and shape, scripted steps, attack type, bias groups, category, turns, conversations per run, language, variables, whether steps are sent literally, or voice. Only the fields you give change. Read the test with get_test first. Its past runs keep their results; the next run uses the new version.
| Parameter | Type | Description |
|---|---|---|
test * | integer | The saved test's id, as list_tests shows it. |
attack_type | For red_team only. | |
bias_type | For bias only: what the two groups differ in. | |
category | For regular only: move the test to this category (id or name). | |
channel | text (default) or voice: the simulated user speaks. Voice needs ElevenLabs. | |
conversations | ||
group_a | For bias only: the first group compared. | |
group_b | For bias only: the second group compared. | |
instructions | ||
language | ||
max_turns | ||
mode | Change the mode: red_team needs an attack_type, bias a bias_type, group_a and group_b (given here or already on the test). | |
name | ||
persona | ||
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
send_steps_literally | Send each scripted step exactly as written, instead of the simulated user phrasing it in its own words. | |
shape | conversation or single (one message per prompt, no scripted steps). | |
steps | Replaces the scripted steps; an empty list turns the test into a plain conversation. | |
variable_mode | How each conversation picks a variable's value: random (default) or sequential. | |
variables | Replaces the variables, as {"name": ["value", ...]}; {} removes them all. | |
voice_id | The ElevenLabs voice the simulated user speaks with; empty for the default. |
copy_test
Save a copy of a saved test, as Duplicate does in the Test Lab: every field of the test (mode, steps, variables, category, voice) under a new name, in the same suites unless suites says otherwise. Use it to start a variant of a test, then change the copy with update_test. Its runs are not copied.
| Parameter | Type | Description |
|---|---|---|
test * | integer | The saved test to copy, as list_tests shows it. |
name | The copy's name; left out, the test's name with (copy) after it. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
suites | Suites to put the copy in (ids or names); left out, the test's own suites. |
draft_test
Fill in a test from a plain description, or work a change into an existing test, as the prompt field of the Test Lab's test form does. Nothing is saved: the fields come back in create_test's names, to check and then save with create_test, or with update_test for an existing test. Uses the project's system knowledge and categories. For many tests at once use generate_tests instead.
| Parameter | Type | Description |
|---|---|---|
instruction * | string | What the test should check, in plain words, or with test: the change to make to that test. |
mode | Keep the draft in this mode; left out, the test's mode, or any for a new test. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
test | A saved test to change instead of a new one. |
delete_test
Delete a saved test from the project's library and from every suite it is in. Its past runs and their results stay. Delete only what the user asked to delete; to change a test, use update_test instead. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's next message confirms th…
| Parameter | Type | Description |
|---|---|---|
test * | integer | The saved test's id, as list_tests shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
create_suite
Make a new suite in the project: a named set of saved tests that runs as one batch. Optionally put tests in it at once. Use it to group the tests for one feature or one release check; run it with run_suite.
| Parameter | Type | Description |
|---|---|---|
name * | string | The suite's name. |
description | ||
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
tests | array | Saved test ids to put in it, as list_tests shows them. |
change_suite_tests
Put saved tests in a suite or take them out. A test can be in several suites; taking it out of one does not delete it. Use list_tests to find the ids, and list_suites for the suite.
| Parameter | Type | Description |
|---|---|---|
suite * | The suite's id or name, as list_suites shows it. 'core' is the Core suite. | |
add | array | Saved test ids to put in the suite. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
remove | array | Saved test ids to take out of it. |
delete_suite
Delete a suite. Its tests stay in the library and in their other suites unless delete_tests is true; past runs always stay. The Core suite cannot be deleted. Name the suite and, with delete_tests, its tests when you ask the user. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the use…
| Parameter | Type | Description |
|---|---|---|
suite * | The suite's id or name, as list_suites shows it. | |
delete_tests | boolean | Also delete the suite's tests, from the library and every other suite. Only when the user asked for that. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
update_suite
Rename a suite or change what its description says. Its tests, runs and schedules stay with it. Two suites of a project cannot share a name. To change which tests it holds, use change_suite_tests.
| Parameter | Type | Description |
|---|---|---|
suite * | The suite's id or name, as list_suites shows it. 'core' is the Core suite. | |
description | What the suite is for; empty removes it. | |
name | A new name. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
start_manual_test
Start a conversation with the project's agent in which you write the user's messages yourself (Test Lab, Manual testing). Nothing is sent yet. Returns its draft id; send messages with send_manual_message, score it with score_manual_test, keep it in Test Results with save_manual_test. A draft is kept for 12 hours after its last change and only you can reach it. Use it to talk to the agent under test directly, for example to reproduce a problem. Needs credits to start.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
get_manual_test
A manual conversation you started: every message and reply, its scoring status (idle, traces, judging, done, failed) and how many messages the score covers, the verdict and its problems once scored, and the run it was saved as.
| Parameter | Type | Description |
|---|---|---|
draft * | string | The conversation's id, as start_manual_test returned it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
send_manual_message
Send one user message to the agent in a manual conversation and wait for its reply, the way a test run reaches it. Returns the conversation with the new reply. A conversation holds at most 50 messages. Scoring covers the messages sent before it started; score again after more.
| Parameter | Type | Description |
|---|---|---|
draft * | string | The conversation's id, as start_manual_test returned it. |
text * | string | The user's message, sent to the agent as written. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
score_manual_test
Have the judge score the manual conversation as it is now, in the background: it reads the traces when the project has them, then returns a verdict with problems and quality scores. Each scoring uses one conversation credit. Call get_manual_test until scoring.status is done or failed.
| Parameter | Type | Description |
|---|---|---|
draft * | string | The conversation's id, as start_manual_test returned it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
save_manual_test
Keep a scored manual conversation in Test Results as a run named Manual testing, with the verdict that was shown; its problems then join the project's problem categories. Score it first, after its last message. Returns the run number.
| Parameter | Type | Description |
|---|---|---|
draft * | string | The conversation's id, as start_manual_test returned it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
discard_manual_test
Forget a manual conversation and its score. A conversation already saved stays in Test Results as its run. Look it up with get_manual_test first. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's next message confirms that exact item. If several items could be meant, list the…
| Parameter | Type | Description |
|---|---|---|
draft * | string | The conversation's id, as start_manual_test returned it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_test_categories
The regular test categories of a project (Test Lab's Categories view), in their order: each one's id, name and how many saved tests it holds. "Other" holds the tests that fit no category. Red team and bias tests are grouped by their attack and bias types instead.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
create_test_category
Add a regular test category, placed before Other. Then put tests in it with move_tests_to_category.
| Parameter | Type | Description |
|---|---|---|
name * | string | The new category's name. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
rename_test_category
Rename a regular test category. Its tests stay in it. Other cannot be renamed; to join two categories, delete one with merge_into instead.
| Parameter | Type | Description |
|---|---|---|
category * | The category's id or name, as list_test_categories shows them. | |
name * | string | The new name. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_test_category
Delete a regular test category. Its tests, their runs and their schedules move to merge_into when given (a merge), otherwise to Other; no test is deleted. Other cannot be deleted. Name both categories when you ask the user. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's ne…
| Parameter | Type | Description |
|---|---|---|
category * | The category's id or name, as list_test_categories shows them. | |
merge_into | The category its tests move to (a merge). Left out, they move to Other. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
move_tests_to_category
Put saved tests in a regular test category, with their runs and the schedules that run them. Red team and bias tests are skipped and counted: their category is their type.
| Parameter | Type | Description |
|---|---|---|
category * | The category's id or name, as list_test_categories shows them. | |
tests * | array | The saved test ids to put in it, as list_tests shows them. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
mark_categories_seen
Take the New mark off regular test categories, as opening one in Test Lab's Categories view does. A category is new when it was made for a capability the system knowledge just found (list_test_categories shows new). Name the categories, or pass all=true for every new one.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Mark every new category of the project seen. |
categories | The categories (id or name) to mark seen. Leave out with all=true. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
resort_test_categories
Sort every regular saved test of the project, with its runs and schedules, into the current test categories again by its name, in the background (Test Lab, Categories, Sort every test again). Category names stay; tests moved by hand may move again. Uses an LLM and counts against a daily limit. Returns the background job; follow it with list_jobs.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
regenerate_test_categories
Replace every regular test category with a new set made from the system knowledge and the active prompts, then sort every regular test into it, in the background (Test Lab, Categories, Replace with generated categories). Names and moves made by hand are lost; no test is deleted. Uses an LLM and counts against a daily limit. Returns the background job; follow it with list_jobs. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask…
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_schedules
The project's scheduled tests (Test Lab's Schedules view): each schedule's id, what it runs (a saved test or a whole suite), when (type, time, time zone, days), whether it is on, when it runs next and the number of its last run. Use the ids with update_schedule, set_schedule_active and delete_schedule.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
create_schedule
Run a saved test or a whole suite on a timer: once, daily, weekly on chosen days, or monthly on a day. Give `tests` instead of `test` to schedule several tests at once, one schedule each with the same timing. It runs the test or suite as it stands when it fires, so later edits are picked up. Every scheduled run uses conversation credits, so schedule what the user asked for.
| Parameter | Type | Description |
|---|---|---|
schedule_type * | string | once (at the next such time), daily, weekly (on days) or monthly (on day_of_month). |
time * | string | The time, as HH:MM (24 hour). |
active | boolean | False saves it switched off. |
day_of_month | For monthly: the day of the month. | |
days | For weekly: the days, 0 for Monday to 6 for Sunday. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
suite | Or the suite to run (id or name); 'core' is the Core suite. | |
test | The saved test to run, as list_tests shows it. | |
tests | Or several saved tests: one schedule each, all with the same timing, as Test Lab makes them for a selection. | |
timezone | string | An IANA time zone, such as Europe/Berlin. |
update_schedule
Change when a schedule runs: its type, time, time zone, days or day of the month. Only the fields you give change; the next run time is worked out again. What it runs does not change: delete it and make a new one for another test or suite. To switch it off or on, use set_schedule_active.
| Parameter | Type | Description |
|---|---|---|
schedule * | integer | The schedule's id, as list_schedules shows it. |
day_of_month | For monthly: the day of the month. | |
days | For weekly: the days, 0 for Monday to 6 for Sunday. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
schedule_type | once (at the next such time), daily, weekly (on days) or monthly (on day_of_month). | |
time | The time, as HH:MM (24 hour). | |
timezone | An IANA time zone, such as Europe/Berlin. |
set_schedule_active
Pause a schedule so it stops running, or resume it. A paused schedule keeps its settings and its past runs. Resuming works out its next run time from now.
| Parameter | Type | Description |
|---|---|---|
active * | boolean | False pauses it, true resumes it. |
schedule * | integer | The schedule's id, as list_schedules shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_schedule
Delete a schedule. The test or suite it ran stays, and so do the runs it made. To stop it for a while instead, use set_schedule_active. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's next message confirms that exact item. If several items could be meant, list them with the…
| Parameter | Type | Description |
|---|---|---|
schedule * | integer | The schedule's id, as list_schedules shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
run_schedule_now
Run what a schedule runs now, without waiting for its time: its saved test, or its suite as one batch (Run now in the Schedules view). Its timing does not change, and it runs whether it is paused or not. Returns the batch_id and the run numbers; follow them with list_runs. Uses conversation credits and calls the agent.
| Parameter | Type | Description |
|---|---|---|
schedule * | integer | The schedule's id, as list_schedules shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_runs
Recent test runs of a project, newest first, each with its outcome (clean, minor, major, failed, stopped, or still queued, running or judging), whether the test passed, its conversations and its major and minor problems. Pass `batch` to follow the runs one run_tests or run_suite call started: 'all_finished' turns true when they are all judged. Filter as Test Results does: by mode, result, a date range (from, to), started by a schedule or by hand, problem category, saved test, schedule or a name search; page with offset. It already holds what you need to compare runs; do not call get_run once p…
| Parameter | Type | Description |
|---|---|---|
batch | Only the runs started together in one launch: the batch_id run_tests or run_suite returned. | |
category | Only runs with a problem in this problem category: its id, as list_problem_categories shows it, or its title. | |
from | Only what started on or after this moment: a date (YYYY-MM-DD) or an ISO date and time, UTC unless it names its offset. | |
limit | integer | Most runs to return, newest first. |
mode | Only tests of this mode: regular, red_team or bias. | |
offset | integer | Skip this many, for the next page. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
result | Only finished runs with this result: clean (no problem), minor (minor problems only), major (a major problem), not_reviewed (nothing could be judged). | |
schedule | Only runs this schedule started, by the id list_schedules shows. | |
search | Only those whose test name contains this. | |
started | scheduled for runs a schedule started, manual for the rest. | |
status | Only runs in this status: pending, running, judging, completed, failed, stopped. | |
test | Only runs of this saved test, by the id list_tests shows. | |
to | Only what started on or before this moment: a date (YYYY-MM-DD, the whole day counts) or an ISO date and time, UTC unless it names its offset. |
get_run
One test run: its status, whether it has finished, its outcome, whether the test passed, its conversations and major and minor problems, how many messages it sent, any error that stopped it, its summary (the headline, conversations that could not be reviewed, turns the agent failed on, and the average of each quality score from 1 to 5), each conversation with its id and verdict (read one with get_conversation), and a link to it in the app. A run has finished once it is judged and its problems sorted.
| Parameter | Type | Description |
|---|---|---|
run_number * | integer | The run's number in its project, e.g. 24 for 'Run #24'. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
compare_batch
How the runs of one launch went against the previous run of the same tests: for each test its change (fixed: fails before, passes now; regressed: passed before, fails now; still_failing; still_passing; new: no earlier finished run; unfinished: still working), the counts of each, and the major and minor problems before and now over the tests that ran before. The previous run of a test is its latest finished run in the project before this launch. Call it once the batch has finished, to say what a change to the agent fixed or broke.
| Parameter | Type | Description |
|---|---|---|
batch * | string | The batch_id run_tests or run_suite returned. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_batches
The project's launches, newest first, as the Suites view of Test Results lists them: tests started together (a suite, a schedule, a selection, a test category) are one launch, a test started on its own is one too. Each has its batch_id (for list_runs, list_conversations and compare_batch), its kind and label, its suite or schedule, when it started and finished, whether it still runs, its tests by outcome, the share of tests without a major problem, its conversations and its major and minor problems, and the run numbers of its tests. Filter by kind, suite, status, mode, a date range (from, to)…
| Parameter | Type | Description |
|---|---|---|
from | Only what started on or after this moment: a date (YYYY-MM-DD) or an ISO date and time, UTC unless it names its offset. | |
kind | Only launches of this kind: suite (a suite run by hand), schedule (started by a schedule), selection (several tests picked together), category (the tests of a test category), single (one test on its o… | |
limit | integer | Most launches to return, newest first. |
mode | Only tests of this mode: regular, red_team or bias. | |
offset | integer | Skip this many, for the next page. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
search | Only launches whose label or one of whose test names contains this. | |
status | running while any of its tests works, completed after. | |
suite | Only the launches of this suite: its id or name, as list_suites shows it. | |
to | Only what started on or before this moment: a date (YYYY-MM-DD, the whole day counts) or an ISO date and time, UTC unless it names its offset. |
list_conversations
Tested conversations of a project across runs, newest first, as the Conversations view of Test Results lists them: each with its id (for get_conversation), its run number and test, its mode, its place in the run, its turns, its major and minor problems with up to five problem titles, and its verdict. Unlike list_problems it also lists clean conversations. Filter by run, batch, verdict, mode, a date range (from, to) or a search; page with offset. For the agent's real traffic use list_live_conversations.
| Parameter | Type | Description |
|---|---|---|
batch | Only the conversations of one launch: its batch_id. | |
from | Only what started on or after this moment: a date (YYYY-MM-DD) or an ISO date and time, UTC unless it names its offset. | |
limit | integer | Most conversations to return, newest first. |
mode | Only tests of this mode: regular, red_team or bias. | |
offset | integer | Skip this many, for the next page. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
run_number | Only the conversations of this run. | |
search | Only conversations whose test name or conversation id contains this. | |
to | Only what started on or before this moment: a date (YYYY-MM-DD, the whole day counts) or an ISO date and time, UTC unless it names its offset. | |
verdict | major (a major problem), minor (minor problems only), clean (judged, no problem), not_reviewed (the judge could not read it), pending (not judged yet). |
run_tests
Start saved tests now against the project's agent. Each test becomes one run; runs started together form one batch. Returns the batch_id and the run number of each started test, and the reason for any that could not start. Runs take minutes: follow them with list_runs and the batch_id. Pass a category to run a test category, as Test Lab does: every test in it, or the tests you list, named after the category in Test Results. Uses conversation credits and calls the agent, so run what the user asked for, not more.
| Parameter | Type | Description |
|---|---|---|
category | A regular test category (id or name, as list_test_categories shows them): the launch is a category run named after it. Without tests, every test of the category runs. | |
label | What Test Results calls this launch. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
tests | array | The ids of the saved tests to run, as list_tests shows them. Leave it out with a category to run every test of the category. |
run_suite
Start every test of a suite now, as one batch. Returns the batch_id and the run number of each started test. Use it to test the agent after a change, or before a release when the organization has no release gate. Follow the runs with list_runs and the batch_id. Uses conversation credits for every test in the suite.
| Parameter | Type | Description |
|---|---|---|
suite * | The suite's id or name, as list_suites shows it. 'core' is the Core suite. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
stop_runs
Stop test runs that are still queued or running, by run number or by the batch one launch made. Each stops at its next turn: the conversations it already had stay in the results and are judged, and the run settles as stopped. Use it when the user wants a launch cancelled.
| Parameter | Type | Description |
|---|---|---|
batch | Stop every run of one launch that is still working: the batch_id run_tests or run_suite returned. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
runs | array | The run numbers to stop, e.g. [24, 25]. |
delete_run
Delete a test run with its conversations, verdicts and problems, as Test Results does. A run still working is stopped first. The saved test stays, and reports made before keep their snapshot. Its problems stop counting in their categories. To cancel a run, use stop_runs. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" The…
| Parameter | Type | Description |
|---|---|---|
run_number * | integer | The run's number in its project, e.g. 24 for 'Run #24'. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
restart_runs
Run the tests of earlier runs again now, as new runs started together in one batch (Restart and Run again in Test Results). A run from a saved test runs that test as it stands today, so an edit since is tested; any other run repeats the configuration stored on it. The earlier runs stay as they are. Name the runs by number, or give the batch_id of a launch to run all of it again. Returns the new batch_id, each new run number with the run it repeats, and the reason for any that could not start. Uses conversation credits and calls the agent.
| Parameter | Type | Description |
|---|---|---|
batch | Or every run of one launch: the batch_id run_tests or run_suite returned. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
runs | array | The run numbers, e.g. [24, 25]. |
rejudge_runs
Judge every conversation of finished runs again with the judge, rules and do-not-flag rules as they are now, then sort their problems again (Rescore in Test Results). Nothing is sent to the agent: the conversations stay as they were, and each new verdict replaces the old one. Use it after changing what the judge checks, not after changing the agent (run the tests again for that, with restart_runs). Runs still working are skipped. Name the runs by number, or give a batch_id. Uses the judge's model.
| Parameter | Type | Description |
|---|---|---|
batch | Or every run of one launch: the batch_id run_tests or run_suite returned. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
runs | array | The run numbers, e.g. [24, 25]. |
rejudge_conversation
Judge one whole conversation again now (Score now in the app): a test conversation with its run, a live one as the idle sweep would, whatever the live data settings say. The new verdict replaces the old one and its problems are sorted straight away. Nothing is sent to the agent. A conversation of a run still working is refused until the run is done. Read the result with get_conversation after a minute.
| Parameter | Type | Description |
|---|---|---|
conversation * | string | The conversation's id, as get_run lists it under 'conversation_list' or list_problems under 'conversation'. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_conversation
Delete one conversation of a finished test run with its verdict and its problems, as Test Results does. The run keeps its other conversations, and its problems stop counting in their categories. A run still working is refused until it is done. To delete the whole run, use delete_run. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to…
| Parameter | Type | Description |
|---|---|---|
conversation * | string | The conversation's id, as get_run lists it under 'conversation_list' or list_problems under 'conversation'. |
run_number * | integer | The run the conversation belongs to, e.g. 24 for 'Run #24'. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_problem_categories
The recurring kinds of problem found in a project (the Problems page), biggest first, each with its id, severity, how many problems it holds, whether it is marked solved, and the start of its suggested fix. Use it for "what keeps going wrong" and "what should we fix first". A category's fix is written for all of its problems at once, so prefer it over fixing problems one by one; get_problem_category gives it in full. Filter by mode (regular, red_team, bias) or source (test, live) to list only the categories holding such problems, counting only those.
| Parameter | Type | Description |
|---|---|---|
include_solved | boolean | Also list categories marked solved. |
limit | integer | Most categories to return. |
mode | Only problems found by tests of this mode: regular, red_team or bias. Live traffic counts as regular. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
source | test for Test Lab runs, live for the agent's real traffic. |
get_problem_category
One problem category in full: its title, severity, description, the whole suggested fix written for all of its problems, whether it is marked solved, how many problems it holds, and its latest problems with the conversation each was found in. Read it before fixing what the category describes.
| Parameter | Type | Description |
|---|---|---|
category * | The category's id, as list_problem_categories shows it, or its title. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_problems
Problems found in a project, newest first: title, severity (major or minor), the run and the conversation they were found in, their category, the judge's explanation and a suggested fix. Filter by run, category (or unsorted: in no category yet), severity, mode (regular, red_team, bias) or source (test, live). Use it for "what went wrong in Run #24"; then get_conversation with a problem's conversation to read the exchange and the evidence.
| Parameter | Type | Description |
|---|---|---|
category | A category's id or part of its title, as list_problem_categories shows them. | |
limit | integer | Most problems to return, newest first. |
mode | Only problems found by tests of this mode: regular, red_team or bias. Live traffic counts as regular. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
run_number | Only problems found in this run. | |
severity | major or minor. | |
source | test for Test Lab runs, live for the agent's real traffic. | |
unsorted | boolean | Only problems no category holds yet (the Problems page's Unsorted). |
get_conversation
One conversation in full: every message of the simulated or real user and every reply of the agent, in order; the verdict on the conversation (clean, or the problems it has); and each problem with its explanation, its suggested fix and the quotes that show it. A quote from the agent's configuration names the source it is in (knowledge_source: the id get_source takes, and the version quoted). When the agent's turns were traced, each reply carries what the agent did: its tool calls with their arguments and results (long ones cut in the middle) and its model calls by name; what the trace withheld…
| Parameter | Type | Description |
|---|---|---|
conversation * | string | The conversation's id, as list_problems shows it under 'conversation'. |
include_trace | boolean | Include what the agent did on each turn, from its trace. False leaves it out. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
set_category_solved
Mark a problem category solved after its fix is deployed, or open it again. Solved is a claim, not a removal: the next problem sorted into the category opens it again, which is how the team learns whether the fix held. When the user says the fix is in, mark it solved, then suggest running the tests that found it.
| Parameter | Type | Description |
|---|---|---|
category * | The category's id or title, as list_problem_categories shows them. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
solved | boolean | True marks it solved, false open again. |
list_live_conversations
The agent's real conversations (Test Results' Live tab), newest activity first: each one's id, its turns, its first user message, when it was last active, and its verdict with its major and minor problems once judged. A live conversation is judged once it has been idle for a while. Read one with get_conversation.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most conversations, newest first. |
offset | integer | Skip this many, for the next page. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
verdict | string | major: has a major problem; minor: only minor ones; clean; not_reviewed: judging failed. As the Live tab's filter. |
dismiss_problem
Mark a problem a false alarm, as the Problems page does: it stops counting in totals, categories and release gates, but stays visible on its conversation. dismissed false puts it back. With add_to_never_flag, a do-not-flag rule is also written from its category (or from the problem itself), so the judge stops reporting that behaviour; do that only when the user says the behaviour is correct for their agent.
| Parameter | Type | Description |
|---|---|---|
problem * | integer | The problem's id, as list_problems shows it. |
add_to_never_flag | boolean | Also write a do-not-flag rule from the problem's category (or the problem when it has none), so the judge stops reporting it. |
dismissed | boolean | False puts a dismissed problem back. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
list_never_flag_rules
The project's do-not-flag rules, numbered: behaviour the team decided is correct for their agent. The judge does not report it and no problem category is opened for it. Shown on the Problems page.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
add_never_flag_rule
Add a do-not-flag rule: behaviour the judge must stop reporting because the team decided it is correct. Give the rule in your own words, or a problem or a problem category to have it written from. It applies to conversations judged from now on. Add one only when the user says the behaviour is correct, never to make a run pass.
| Parameter | Type | Description |
|---|---|---|
category | Or write it from this problem category (id or title). | |
problem | Or write it from this problem, by its id. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
rule | The rule as one sentence naming the behaviour that is correct. |
remove_never_flag_rule
Remove one do-not-flag rule by its number, so the judge reports that behaviour again in conversations judged from now on. Read the rules with list_never_flag_rules first: the numbers after it move up by one.
| Parameter | Type | Description |
|---|---|---|
number * | integer | The rule's number, as list_never_flag_rules shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
create_custom_check
Add a custom check, as "Add a custom check" on the Problems page does: a problem category written by hand. From then on the judge looks for it in every conversation, problems found are sorted into it, and it gets a fix written for it like any other category. It is how a user teaches the judge something to watch for. Problems found before stay where they are until sorted; sort_problems moves the unsorted ones in.
| Parameter | Type | Description |
|---|---|---|
severity * | string | major or minor: the tier a problem it finds starts at. |
title * | string | What the judge should look for, as a short problem title. |
description | What counts as this problem, in a sentence or two. Optional. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
elevenlabs_import_criteria
For a project connected to an ElevenLabs agent: add a custom check for each success criterion the agent has in ElevenLabs, named "Missed goal: <criterion>", as the connection settings' import button does. A check whose name is already taken is left as it is, so importing twice adds nothing. Reads the criteria saved when the connection was last saved; after changing them in ElevenLabs, save the connection again with its agent id (Settings, or the setup API) to read the agent afresh.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_problem_category
Delete a problem category and every problem in it, as the Problems page does. The judge is no longer asked to check for it, but a new category may be opened if the fault keeps appearing; add_to_never_flag also writes a do-not-flag rule from the category, which stops that. Use it for a category that is wrong or no longer relevant; mark a fixed one solved instead (set_category_solved). Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, a…
| Parameter | Type | Description |
|---|---|---|
category * | The category's id or title, as list_problem_categories shows them. | |
add_to_never_flag | boolean | Also write a do-not-flag rule from the category, so the judge stops reporting it and it is not opened again. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
set_problem_severity
Upgrade a problem to major or downgrade it to minor, as the Problems page does. The new tier replaces the judge's everywhere: the conversation's verdict, its category, run results, dashboards and release gates, so a run whose only major problem is downgraded passes. Change it only when the user says the judge's tier is wrong. Judging the conversation again starts from the judge's own tier.
| Parameter | Type | Description |
|---|---|---|
problem * | integer | The problem's id, as list_problems shows it. |
severity * | string | major or minor. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_problem
Delete a problem for good, as the Problems page does. Unlike dismiss_problem, nothing of it remains, not even on its conversation. delete_category also deletes its category and every problem in it; add_to_never_flag writes a do-not-flag rule from the category (or the problem), so the judge stops reporting that behaviour. Prefer dismiss_problem for a false alarm the team may want to see later. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup sh…
| Parameter | Type | Description |
|---|---|---|
problem * | integer | The problem's id, as list_problems shows it. |
add_to_never_flag | boolean | Also write a do-not-flag rule from the problem's category (or the problem when it has none), so the judge stops reporting it. |
delete_category | boolean | Also delete the problem's category and every other problem in it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
sort_problems
Sort a project's problems into categories now instead of waiting for the next test batch, as the Problems page's sort buttons do. scope unsorted (the default) sorts the problems no category holds yet and returns what moved; use it after create_custom_check so earlier problems move into the new check. scope unsolved or solved sorts every problem on that tab again and writes fresh fixes; it runs in the background for a few minutes, after which list_problem_categories shows the result. Uses the model and a daily allowance per project.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
scope | string | unsorted: sort the problems no category holds yet, now (Sort Unsorted Problems). unsolved or solved: sort every problem on that tab of the Problems page again, into new categories where that is more a… |
get_checks
The checks set on the Problems page beside what the judge reads: the token limit per turn (on or off, and the most tokens one turn may use; a turn over it is reported as a problem), whether a conversation whose last message got no reply is reported (unanswered messages), and the custom checks added by hand (create_custom_check). Change the first two with set_checks.
| Parameter | Type | Description |
|---|---|---|
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
set_checks
Change the checks counted in code, as the Problems page does: the token limit per turn (token_budget_enabled, max_tokens_per_turn) and the unanswered messages check (no_answer_enabled). Give only what changes; the rest stays. They apply to conversations judged from now on. Read them first with get_checks.
| Parameter | Type | Description |
|---|---|---|
max_tokens_per_turn | The most tokens one turn may use before it is reported. | |
no_answer_enabled | Report a conversation whose last message got no reply (on by default). | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
token_budget_enabled | Turn the token limit per turn on or off. On needs max_tokens_per_turn, given now or set before. |
create_report
Make a report of a project's test results, as the Reports page does: a verdict on readiness, the pass rate, the issues with their fixes, the agent's strengths and every test, saved as a snapshot that does not change afterwards. Report on chosen runs (by number), on the last few days, or on a date range (from_date, to_date). It builds in the background in about a minute and uses a language model for the strengths: read it with get_report until its status is ready. Returns the report's id and its link in the app.
| Parameter | Type | Description |
|---|---|---|
days | Report on the runs of the last this many days. Without runs, days or from_date: the last 30 days. | |
exclude_minor | boolean | Leave minor problems out. |
from_date | Report on the runs from this day (YYYY-MM-DD, from its start in UTC). Instead of days. | |
include_all_conversations | boolean | List every conversation, not only those with problems. |
language | string | |
modes | array | Test modes to include; empty is all. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
runs | array | Run numbers to report on. Leave empty to report on a period instead. |
title | The report's title. | |
to_date | With from_date: the last day to include (YYYY-MM-DD, to its end in UTC). Without it: up to now. |
list_reports
The project's reports (the Reports page), newest first: each report's id, title, status (queued, generating, ready or failed), the period or how many runs it covers, the test modes in it, and its link in the app. Read one with get_report.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most reports to return. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
get_report
One report as the app shows it: its status; once ready, its verdict on readiness, its numbers (tests passed, pass rate, conversations), the issues it found biggest first, each with its problem counts and the fix it recommends, and the agent's strengths with the quotes that show them. Every result carries the report's link in the app; give the user that link for the full report, its PDF and sharing.
| Parameter | Type | Description |
|---|---|---|
report * | integer | The report's id, as list_reports shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
rebuild_report
Build a saved report again from the test results as they are now, as the report page's Update does: the same period, runs and options as when it was made, so problems dismissed, deleted or re-sorted since then are reflected. The report keeps its id, title and share link; its earlier content is replaced. Use it when a report failed, or to bring one up to date instead of making a new one. It builds in the background in about a minute and uses a language model: read it with get_report until its status is ready. Counts toward the daily limit on reports.
| Parameter | Type | Description |
|---|---|---|
report * | integer | The report's id, as list_reports shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
delete_report
Delete a saved report, as the Reports page does. Its public link stops working. The test runs and problems it was made from stay. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user's next message confirms that exact item. If several items could be meant, list them with their ids…
| Parameter | Type | Description |
|---|---|---|
report * | integer | The report's id, as list_reports shows it. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
get_strengths
What the agent did well, as the app shows it on a clean conversation: the judge's reason it is clean and each strength with the quotes that show it. Give a conversation for one, or a run_number for every clean conversation of that run. Only clean conversations have strengths. For what holds across many runs, read a report's strengths with get_report.
| Parameter | Type | Description |
|---|---|---|
conversation | One conversation, by the id get_run or list_problems shows. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
run_number | Every clean conversation of this run. |
list_release_gates
The organization's release gates: each gate's id, name, the pack of tests it runs, the share of tests that must pass, and whether it is active. A release gate runs a fixed set of tests before a deploy and decides pass or fail. Gates belong to the organization, not a project.
run_release_gate
Start a release gate run: its tests run against the agent and the gate decides pass or fail against its threshold. Returns the gate run's number; follow it with get_gate_run until finished is true. Use it when the user asks whether a change is safe to release. In CI, use the gate's deploy key with `qualiloop gate run` instead.
| Parameter | Type | Description |
|---|---|---|
gate * | The gate's id or name, as list_release_gates shows it. | |
external_ref | What is being released, such as a commit sha. | |
name | A name for this run. |
list_gate_runs
Recent release gate runs of the organization, newest first, with their pass or fail decision. Use it for "why was my deploy blocked".
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most gate runs to return, newest first. |
get_gate_run
One release gate run: its status, its decision (pass, fail or cancelled) once finished, the pass percentage against the required one, and each test with its verdict and run number. Read the failed tests' problems with list_problems and the run number.
| Parameter | Type | Description |
|---|---|---|
gate_run_number * | integer | The gate run's number, as list_gate_runs shows it. |
cancel_gate_run
End a release gate run that is still waiting on its tests. Its decision becomes cancelled, which fails the deploy in CI; tests that finished keep their verdicts and the rest are marked cancelled. The test runs it started keep going (stop them with stop_runs). Use it for a gate run stuck as running, or one the user no longer needs. A run still open past its gate's CI time limit is ended on its own, as failed.
| Parameter | Type | Description |
|---|---|---|
gate_run_number * | integer | The gate run's number, as list_gate_runs shows it. |
update_release_gate
Change a release gate's name, pass threshold, CI timeout or pack (the tests it runs), or turn it on or off. Every deploy that calls the gate is decided by the new settings, so change only what the user asked for. To change the tests of a pack itself, use update_gate_pack.
| Parameter | Type | Description |
|---|---|---|
gate * | The gate's id or name, as list_release_gates shows it. | |
active | False turns the gate off: CI calls to it are refused. | |
ci_timeout_minutes | How long CI waits for a run before it fails. | |
name | ||
pack | Move the gate to this pack: its id or name, as list_gate_packs shows it. Its past runs stay with the pack they ran. | |
required_pass_percentage | The share of tests that must pass, in percent. |
create_release_gate
Create a release gate for a pack of tests: it passes a deploy when the share of the pack's tests that pass reaches required_pass_percentage. Make the pack first with create_gate_pack when none fits. CI calls the gate with a deploy token, made in the app (Release gates, CI integration); `qualiloop gate ci-snippet <gate>` prints the script.
| Parameter | Type | Description |
|---|---|---|
name * | string | The gate's name. |
pack * | The pack of tests it runs: its id or name, as list_gate_packs shows it. | |
active | boolean | False makes it off: CI calls are refused. |
ci_timeout_minutes | integer | How long CI waits for a run before it fails. |
required_pass_percentage | integer | The share of tests that must pass, in percent. |
delete_release_gate
Delete a release gate and its deploy tokens: CI jobs that call it are refused from then on. Its pack stays, and its past runs stay in the gate runs and the pack's history with their results. To stop it for a while instead, use update_release_gate with active false. Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop…
| Parameter | Type | Description |
|---|---|---|
gate * | The gate's id or name, as list_release_gates shows it. |
list_gate_packs
The organization's release gate packs. A pack is the set of tests a gate runs; it holds saved tests and schedules from any project. Each pack comes with its id, name, description, its tests (kind saved or scheduled, id, name, project) and the gates that run it.
create_gate_pack
Create a release gate pack: a named set of saved tests and schedules, from any project, that a gate runs. It needs at least one test or schedule. Then create a gate for it with create_release_gate.
| Parameter | Type | Description |
|---|---|---|
name * | string | The pack's name. |
description | ||
schedules | array | Scheduled tests, each {"project": number or name, "schedule": id}, as list_schedules shows them. |
tests | array | Saved tests, each {"project": number or name, "test": id}. A pack may hold tests of several projects. |
update_gate_pack
Change a release gate pack's name, description, or tests. tests and schedules each replace that kind of test in the pack as a whole, so read the pack with list_gate_packs first and send every test it should keep. Every gate that runs the pack runs the new tests from its next run; past runs keep what they ran.
| Parameter | Type | Description |
|---|---|---|
pack * | The pack's id or name, as list_gate_packs shows it. | |
description | ||
name | ||
schedules | Scheduled tests, each {"project": number or name, "schedule": id}, as list_schedules shows them. Replaces the pack's schedules; leave it out to keep them. | |
tests | Saved tests, each {"project": number or name, "test": id}. A pack may hold tests of several projects. Replaces the pack's saved tests; leave it out to keep them. |
delete_gate_pack
Delete a release gate pack. The tests and schedules in it stay, and so do the gate runs that ran it. A pack a gate still runs cannot be deleted: delete that gate or move it to another pack first (update_release_gate with pack). Deleting cannot be undone. Before you call this, look the item up so you know it exists; if it does not, say so and ask nothing. Then tell the user plainly what will be deleted, naming it as the lookup shows it, and ask whether they are sure, in words like: "You asked me to delete <what>. Are you sure you want to proceed?" Then stop and wait. Call it only when the user'…
| Parameter | Type | Description |
|---|---|---|
pack * | The pack's id or name, as list_gate_packs shows it. |
get_pack_history
The gate runs of one pack, newest first, with each test's verdict in each run (the app's History tab): which tests keep failing across releases, and since when. Runs of deleted gates are included.
| Parameter | Type | Description |
|---|---|---|
pack * | The pack's id or name, as list_gate_packs shows it. | |
limit | integer | Most gate runs to return, newest first. |
generate_tests
Have QualiLoop write and save tests from one prompt, grounded in what it knows about the agent: the main way to get tests, rather than writing them with create_test. It plans how many tests of which mode and category (up to 300 tests per prompt), writes them, checks them and saves them, in a minute or a few. Returns a generation id; call get_generation until finished is true, then run the saved tests with run_tests or the suite with run_suite. Uses an LLM and counts against a daily limit; generate what the user asked for.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to test, in plain words: 'refund requests, including angry customers'. |
max_count | Most tests to write, up to 300. | |
new_suite_name | Make a new suite with this name for the tests. | |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
suite | An existing suite (id or name) the new tests join. |
get_generation
Where a test generation stands: its status (queued, running, completed, failed, cancelled) and step (reading the agent, planning, writing, checking, saving), how many tests it planned and wrote, and once completed the saved tests with their ids, the tests it dropped and why, and any error. finished is true once it has stopped.
| Parameter | Type | Description |
|---|---|---|
generation * | integer | The id generate_tests returned. |
project | Optional: the generation's project, number or name. |
cancel_generation
Stop a test generation that is still queued or running. Nothing is saved: tests are only saved at the end. A generation that has already finished is returned as it is.
| Parameter | Type | Description |
|---|---|---|
generation * | integer | The id generate_tests returned. |
list_generations
The project's latest test generations, newest first (by default only the ones you started): each one's id, prompt, status and step, how many tests it planned, wrote and saved, its suite, and any error. Read one in full, with its saved and dropped tests, with get_generation.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most generations to return. |
mine | boolean | Only the generations you started; false for everyone's. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. |
mark_tests_seen
Take the New mark off generated tests, as opening one in Test Lab does. A test is new from when a generation saves it until someone opens, edits or marks it seen; Test Lab lists them under New tests. Name the tests, or pass all=true for every new test of the project. Returns the ids it marked.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Mark every new test of the project seen. |
project | The project's number (as the app shows it, e.g. 12 or '#12') or its name. Optional when the organization has one project. | |
tests | The saved test ids to mark seen. Leave out with all=true. |
list_jobs
What the app's notification centre shows: the background jobs you started that are running or finished recently (test generation, reports, sorting test categories, explorations and the like; admins also see jobs nobody started), each with its id, kind, status, progress, result or error, plus the test runs in the organization that are running or finished in the last hours. Use it to see what is still working before starting more, or to find a job's id for cancel_job.
| Parameter | Type | Description |
|---|---|---|
project | Only this project's jobs and runs (number or name). Leave out for all. |
cancel_job
Stop a background job that is still queued or running, as the Cancel button of the notification centre does: a report, a test category sort, an exploration, a test generation. Whatever it already finished is kept. Stop test runs with stop_runs instead. Returns the job with its status; one that had already finished is returned as it is.
| Parameter | Type | Description |
|---|---|---|
job * | integer | The job's id, as list_jobs shows it. |
get_usage
Your organization's plan and conversation credits: credits left, the monthly allowance and balance, one-time credits, conversations and turns used this period, when the period ends, the plan's project limit, and whether new tests can start (and why not). Check it before launching a large suite.
list_members
The people in your organization, as Team Management lists them: name, email, role, whether the account is active and its email verified, and when each last signed in. Read only: inviting, changing roles and removing people stay in the app. Admins only.
get_help_topic
The QualiLoop user guide: with no topic_key, the list of topics (key, title, section); with one, that topic's full text and its link in the app. Use it to explain how the product works in the app's own words. The in-app assistant already has the whole guide in its instructions and uses this only to re-read one topic closely.
| Parameter | Type | Description |
|---|---|---|
topic_key | A topic's key as the list shows it. Leave out to list the topics. |
qualiloop_status
Who is signed in to which QualiLoop, and the default project. Call it first if a tool says you are not signed in, and after sign_in to wait for the approval: while a sign-in waits, it waits with it (up to wait_seconds) and answers once the user has approved.
| Parameter | Type | Description |
|---|---|---|
wait_seconds | integer | While a sign-in waits for approval, most seconds to wait for it. |
sign_in
Sign this MCP server (and the qualiloop CLI) in to QualiLoop. Opens the approval page in the user's browser and returns the link and a code. Tell the user to approve it there and check the code (a new user creates an account from that page first); then call qualiloop_status, which waits for the approval, until it shows them signed in. Do not ask the user to say when they are done.
wait_for_runs
Wait until the runs one run_tests or run_suite call started have finished (judged, problems sorted), up to the given minutes, and return them. Finished runs say whether the test passed and how many major and minor problems each found. Once all have finished, comparison holds each test against its previous run (fixed, regressed, still failing, new) and the major and minor problems before and now, as compare_batch returns it. Call it again if it returns before they finish.
| Parameter | Type | Description |
|---|---|---|
batch * | string | The batch_id run_tests or run_suite returned. |
minutes | integer | Most minutes to wait. |
project | integer | string | The project number or name. |
connect_agent
Start connecting the agent in this codebase, in one call: takes the project the user named (number or name), or with none named creates one named after the codebase when the account has no project, and otherwise lists the projects so you can ask the user which. Makes it the default project, writes the project key and traces address into .env (values never returned; says whether git ignores the file), and returns the setup steps (the connect skill) to follow next.
| Parameter | Type | Description |
|---|---|---|
file | string | The env file, inside this workspace. |
project | integer | string | The project's number or name, as the user gave it. |
connect_info
Everything needed to connect the agent in this codebase to a QualiLoop project: the request contract of the endpoint QualiLoop calls, the OpenTelemetry traces address, the endpoint saved so far, and the addresses QualiLoop calls from. The project key is masked; write it with connect_write_env. Follow /connect/SKILL.md on the QualiLoop address for the steps.
| Parameter | Type | Description |
|---|---|---|
project | integer | The project's number. |
connect_projects
The projects you can connect agents to, each with its agent name and environment (local, dev, staging, prod), and whether you may create more.
connect_create_project
Create a project for another agent in this codebase, or for another environment of an agent: one project per agent and environment, named "<agent> (<environment>)". Admins only. Ask the user before creating projects.
| Parameter | Type | Description |
|---|---|---|
name * | string | The agent's name, without the environment. |
description | string | |
environment | string |
connect_write_env
Write the project's key and traces address into an env file of this codebase (QUALILOOP_PROJECT_KEY and QUALILOOP_OTLP_TRACES_URL, with a suffix for a second agent). The values are never returned. Make sure the file is git-ignored.
| Parameter | Type | Description |
|---|---|---|
file | string | Path inside this workspace. |
project | integer | The project's number. |
suffix | string | For a second agent: TRIAGE gives QUALILOOP_PROJECT_KEY_TRIAGE. |
connect_save_target
Save how QualiLoop reaches the agent, and where it reads traces. mode: endpoint (the default when base_url is given), dify (the app's Dify preset: Dify's chat address unless base_url names a self-hosted one, its request body, the API key as auth header Authorization), async_session (a session endpoint: async_session holds the protocol, with operations init and send), browser (QualiLoop types into the chat page: browser.chat_page_url and browser.input_selector), elevenlabs (elevenlabs.api_key and agent_id; QualiLoop reads the agent's prompt and success criteria) or gohighlevel (gohighlevel.priv…
| Parameter | Type | Description |
|---|---|---|
async_session | object | async_session mode: the session protocol, with operations init and send. |
auth_header_env | string | The variable holding the header value, such as QUALILOOP_AGENT_SECRET. |
auth_header_name | string | Such as X-Agent-Secret or Authorization. |
auth_header_prefix | string | Put before the value, such as "Bearer ". |
base_url | string | The full address of the endpoint, reachable from the internet. |
browser | object | browser mode: chat_page_url, input_selector, send_button_selector, submit_method (auto, enter_key, button), wait_timeout_seconds (5 to 300), browserbase_context_id_env. |
elevenlabs | object | elevenlabs mode: api_key_env, agent_id, region (global, us, eu, in, sg), default_voice_id, max_reply_ms (0 turns the slow reply check off). Giving agent_id again reads the agent afresh. |
env_file | string | Where to read a variable when the environment lacks it. |
gohighlevel | object | gohighlevel mode: private_token_env, location_id, channel (Live_Chat, WhatsApp, SMS, Instagram, Facebook), agent_id, reply_timeout_seconds (10 to 300), poll_interval_seconds (1 to 30), observability_e… |
grounding_documentation | string | async_session and browser modes: the documents the agent answers from. |
max_parallel_conversations | integer | |
mode | string | |
name | string | The agent's name, as the connection settings show it. |
observability | object | Endpoint mode only. Where traces are read: provider otel (QualiLoop tracing, the default), langfuse (host, public_key, secret_key_env), langsmith (api_key_env, host, project) or none (no traces); sess… |
payload_template | string | |
project | integer | The project's number. |
reply_timeout_seconds | integer | |
response_text_path | string | |
start_conversation | object | null | |
system_prompt | string | async_session and browser modes: the agent's system prompt, verbatim. |
trace_fetch_delay_seconds | integer | |
trace_fetch_interval_seconds | integer | |
trace_fetch_max_wait_seconds | integer | |
unique_variables | array | |
variables | object |
connect_set_limits
Set how hard QualiLoop drives the saved endpoint, to fit what the agent can take: max_parallel_conversations, the most conversations at once (0 removes the limit), and reply_timeout_seconds, the most seconds one reply may take. Give one or both; every other setting of the endpoint stays. Give neither to read the saved values. Set them before the first exploration or tests.
| Parameter | Type | Description |
|---|---|---|
max_parallel_conversations | integer | |
project | integer | The project's number. |
reply_timeout_seconds | integer |
connect_set_traces
Whether scoring uses the agent's traces, and how long QualiLoop waits for a conversation's traces once its last turn is done. enabled false scores without traces (admins). The timing changes the saved endpoint only: the first look after delay_seconds, then one every interval_seconds, stopping after max_wait_seconds. Give any of them; the rest stays.
| Parameter | Type | Description |
|---|---|---|
delay_seconds | integer | |
enabled | boolean | |
interval_seconds | integer | |
max_wait_seconds | integer | |
project | integer | The project's number. |
connect_save_agent_context
Fill the agent's system knowledge from the code: its system prompts, tools and documentation, verbatim, become the sources QualiLoop reads and judges against, and General describes the agent. Give them inline, or as `file`, a JSON file in this workspace with the same fields (better for long prompts). The answer lists each source as new, unchanged or a new version, the ones retired, the ones a person keeps, and the General fields written or kept. Send it again after changing a prompt, a tool or a document. Set overwrite only when the user asked to replace General.
| Parameter | Type | Description |
|---|---|---|
documentation | array | One entry per document in the repository the agent answers from, named by its path, verbatim. |
file | string | A JSON file in this workspace with the body. |
general | object | From the code and README only: the agent's name, a one-sentence summary, and a description of what it is, who uses it and what matters most. |
overwrite | boolean | Write General over what is there. Only when the user explicitly asked; otherwise only empty fields are filled. |
project | integer | The project's number. |
system_prompts | array | Every system prompt, verbatim; a template as written. |
tools | array | Every tool the agent can call, with its description and argument schema. |
ui_tools | array |
connect_check_traces
Check QualiLoop tracing from one session you produced yourself on this machine (a request marked as a QualiLoop test, with your own session id): whether its spans arrived and what they carry. Calls nothing and records nothing.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
project | integer | The project's number. |
connect_check
Send one real test message to the saved endpoint and report, item by item, what arrived (endpoint reached, reply found, trace matched, spans, model, tokens, steps). Takes up to a minute. Only once the address runs the changes: never against an address that is not deployed yet.
| Parameter | Type | Description |
|---|---|---|
project | integer | The project's number. |
connect_set_live
Turn the project's live traffic on or off: real users' conversations, sent through QualiLoop tracing, recorded and judged. Ask the user first; it sends real users' data. Admins only. Only when the user asks about how much is stored or scored: collect_percent, scoring_enabled, score_percent, and limits per day, week or month (turn_limit for stored turns, score_limit for scored conversations; null removes a limit). Left out, what is saved stays.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | |
collect_percent | integer | Share of new live conversations stored. |
project | integer | The project's number. |
score_limit | integer | null | The most live conversations scored per period; null removes the limit. |
score_limit_period | string | |
score_percent | integer | Share of stored live conversations scored. |
scoring_enabled | boolean | Score stored live conversations. |
turn_limit | integer | null | The most live turns stored per period; null removes the limit. |
turn_limit_period | string |