clerk.list_enterprise_connection_test_runs
List SAML or OIDC debug test runs for an enterprise SSO connection.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns test_runs summaries plus total_count.
Cost = 5 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–500). | |
| offset | No | Number of results to skip before returning. | |
| status | No | Filter by test run status: "pending", "success", or "failed". | |
| connection_id | Yes | Clerk enterprise connection id (entc_...) to retrieve, update, delete, or test. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_runs | No | Enterprise connection SSO test runs. | |
| total_count | No | Total number of test runs matching the query. |