@guildai-services/guildai~testrail package provides agents with read-only access to the TestRail API for test management data.
Authentication
- Type: Basic auth (email + API key)
- Token expiration: None — API keys are long-lived
- Instance URL: Each TestRail instance has its own base URL
Setup
1
Open Credentials
Go to Credentials in Guild.
2
Connect TestRail
Click TestRail and enter your credentials.
3
Enter Base URL
Your TestRail instance URL (e.g.,
https://company.testrail.io).4
Enter Email
Your TestRail account email.
5
Enter API Key
Found in TestRail under My Settings > API Keys.
Usage
testrail_ prefix — for example, get_projects becomes testrail_get_projects.
API endpoints
Projects & suites
Projects & suites
Test cases
Test cases
Test runs & results
Test runs & results
Users
Users
Webhook events
TestRail does not support webhook triggers in Guild. This integration is API-access only.Limitations
- Read-only API operations — no creating or updating test cases, runs, or results
- No webhook or trigger support
- Each TestRail instance requires its own credential entry