Skip to main content

GraphQL API

TrendGate's GraphQL API provides flexible querying capabilities.

Endpoint​

https://api.trendgate.ai/graphql

Authentication​

{
"Authorization": "Bearer tg_live_xxxxx"
}

Example Queries​

query ProjectQuality($projectId: ID!) {
project(id: $projectId) {
quality {
score
testPassRate
coverage
}
}
}