Skip to main content
Version: 0.6.x (Current)

Entities

TFGQL exposes the Terraform Cloud / Enterprise domain model as a rich entity graph. Each entity listed below can be queried at the root level or resolved through relationships on parent types.

For the full field-by-field schema reference, see the API Reference.


Core

EntityDescription
AgentsIndividual agent processes registered to a pool
Agent PoolsNamed groups of agents scoped to an organization
Agent TokensAuthentication tokens used by agents to connect

Governance

EntityDescription
Policy EvaluationsSentinel / OPA evaluation results from agent-mode runs
Policy Set ParametersKey-value configuration for policy sets

Access Control

EntityDescription
Organization MembershipsUser membership records across organizations
Organization TagsTags applied to workspaces within an organization
Project Team AccessTeam permission grants at the project level
Workspace Team AccessTeam permission grants at the workspace level
Team TokensAPI tokens scoped to a team

Configuration & State

EntityDescription
Configuration VersionsTerraform configuration uploads with VCS metadata
State Version OutputsOutput values from Terraform state
Workspace ResourcesIndividual Terraform-managed resources

Collaboration

EntityDescription
Assessment ResultsDrift detection and health check results
CommentsUser comments attached to runs