---
title: "Detect the GCP organization for a connection"
method: POST
path: "/v1/cloud-security/detect-gcp-org/{connectionId}"
tags: ["CloudSecurity"]
---

# Detect the GCP organization for a connection

`POST /v1/cloud-security/detect-gcp-org/{connectionId}`

Detect the GCP organization for a connection in Comp AI. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.

## Path parameters

- `connectionId` string, required

## Response `201`

## Changes

- **2026-04-09** `109940f49052` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/cloud-security/detect-gcp-org/:connectionId/post.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
