Seems to be an issue with the GraphQL query made by the provider:
│ Error: could not query for spaces: Cannot query field "spaces" on type "Query". Did you mean "space"?
│
│ with data.spacelift_space_by_path.organization,
│ on data.tf line 17, in data "spacelift_space_by_path" "organization":
│ 17: data "spacelift_space_by_path" "organization" {
Seems to be an issue with the GraphQL query made by the provider: