| tests | No | Specific tests to run. For a native Flow Test, className is 'FlowTesting.{flowApiName}' and each test method is '{flowTestApiName}' -- the FlowTest developer name (metadata fullName), used exactly as it appears on the record. Do not prepend the flow name. Method names are sent verbatim and are verified before the run is enqueued, so a name that matches no FlowTest fails immediately with an error. Omit testMethods to run every test in the class. Cannot be combined with a testLevel of RunLocalTests or RunAllTestsInOrg | |
| sf_user | No | (optional) Salesforce username to identify the connection to use. Omit this to use the current default connection. | |
| category | No | Limit an org-wide run to Apex tests, Flow tests, or both. Only applies when using testLevel; ignored when naming tests explicitly | |
| classids | No | Comma-separated Apex class IDs to run. Only applies when using testLevel | |
| suiteids | No | Comma-separated Apex test suite IDs to run. Only applies when using testLevel | |
| testLevel | No | Which tests to run when not naming them explicitly via tests. RunLocalTests and RunAllTestsInOrg select tests org-wide and cannot be combined with tests | |
| classNames | No | Comma-separated Apex class names to run. Only applies when using testLevel | |
| suiteNames | No | Comma-separated Apex test suite names to run. Only applies when using testLevel | |
| cirra_ai_team | No | (optional) Cirra team ID or name that owns the Salesforce connection to use for this call. Must be provided together with 'sf_user'. Use it to run against a specific team's connection without changing your default team — e.g. to keep separate chats on Salesforce orgs in different teams. Omit it when this call carries the context_handle from cirra_ai_init, which names the team for the conversation. A user with more than one place to work (several teams, or a team and a personal account) must pass either the context_handle or 'cirra_ai_team' + 'sf_user'. | |
| context_handle | No | (recommended) The conversation context handle returned by cirra_ai_init in this conversation. Pass the exact context_handle value from the most recent cirra_ai_init result so this call runs against the team and Salesforce connection selected for this conversation. A user with more than one place to work (several Cirra AI teams, or a team and a personal account) must pass either this handle or 'cirra_ai_team' + 'sf_user'; a call with neither is refused. | |
| maxFailedTests | No | Abort the run after this many failures. Use '0' to stop at the first failure or '-1' to never abort. Does not apply to Flow tests | |
| skipCodeCoverage | No | Set to 'true' to skip code coverage collection, which makes the run faster. Recommended when running Flow tests | |