List Clerk enterprise connection test runs
List SSO debug test runs for an enterprise connection.
← All Clerk endpoints · Capability overview
/v1/clerk/enterprise-connections/{connection_id}/test-runshttps://api.vee3.io/v1/clerk/enterprise-connections/{connection_id}/test-runs
List SSO debug test runs for an enterprise connection.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.list_enterprise_connection_test_runsParameters5 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
connection_idstringRequiredClerk enterprise connection id (entc_...) to retrieve, update, delete, or test.
limitintegerOptionalMaximum number of results to return (1–500).
Default: 10 · min 1, max 500
offsetintegerOptionalNumber of results to skip before returning.
Default: 0 · min 0
statusarrayOptionalFilter by test run status: "pending", "success", or "failed".
Response16 fields
test_runsarrayitems14 fieldsEnterprise connection SSO test runs.
test_runsarrayitemsidstringEnterprise connection test run id.
statusstringTest run status: "pending", "success", or "failed".
connection_typestringConnection type tested: "saml" or "oauth".
created_atintegerUnix timestamp in milliseconds when the test run was created.
parsed_user_infoobject4 fieldsUser attributes parsed from the IdP response.
parsed_user_infoobjectemail_addressstringEmail address parsed from the IdP response.
first_namestringFirst name parsed from the IdP response.
last_namestringLast name parsed from the IdP response.
user_idstringUser id parsed from the IdP response.
logsarrayitems4 fieldsLog entries captured during the test run.
logsarrayitemslevelstringLog level (for example info, warn, or error).
messagestringLog message text.
codestringOptional machine-readable log code.
short_messagestringOptional short log summary.
total_countintegerTotal number of test runs matching the query.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required