List test profiles
List the workspace's test profiles, the reusable caller-identity bundles backing {{test_profile["…"]}} variables in scenarios. Returns each profile's id, name, and its two variable sections (mainAgentVariables go to the agent under test at call time; testingAgentVariables are the simulated caller's stated identity). Use this to find the testProfileId to attach with create_scenario / update_scenario, or to check what fixture data already exists before creating another profile.
Authorization
bearerAuth A personal access token from Settings > API tokens.
In: header
Header Parameters
A key you choose, such as a UUID, that makes this POST safe to retry. Within 24 hours the same key and request answers with the first successful answer and runs nothing, the same key with a different request answers 422 idempotency_key_reused, and a key whose request is still running answers 409 idempotency_key_in_use. A failed request keeps nothing, so the same key runs it again.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Target agent as 'workspace-slug/agent-slug' (e.g. 'luke/support-bot').
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/operations/list_test_profiles" \ -H "Content-Type: application/json" \ -d '{ "agent": "string" }'{}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}List referral codes POST
List the partner's referral code(s), each with its active flag and creation time. Codes are system-generated at enrolment (enroll_partner); there is no manual mint.
List tests POST
List every test on this agent with its id (uuid), slug, name, and the verdict of its latest run against this agent: passed or failed (an operator override wins, and a passed run whose critical metric failed reads failed), scoring (passed, critical metrics still scoring), review_required, error / infra_error / cancelled (the run broke, which says nothing about the agent), running, pending, or not-run. Call this FIRST to resolve the handle before run_test, or the id before delete_scenario, when the operator refers to a test by name or asks you to fix failing tests, the readiness block does not carry test handles. Pass the returned slug (or id) to run_test({ test }); pass the id to create_cron_job/update_cron_job as evalIds.