Automation and Integration

Inter-App Communication

Entities on the grid can call each other using the caller/callee model.

Declare outbound calls

In the calling entity’s cloudgrid.yaml:

calls:
  - your-org:other-app

The platform injects a service account token as CLOUDGRID_CALLER_TOKEN_<ADDR>.

Configure inbound callers

In the called entity’s cloudgrid.yaml:

callers:
  policy: auto          # auto (pre-approved) or manual (requires approval)
  scope: org            # org, space, or explicit
  fallback: deny        # deny or warn

For explicit caller control:

callers:
  policy: manual
  scope: explicit
  allowed_apps:
    - your-org:calling-app

Debug calls from the CLI

grid call other-app /api/health --from my-app
grid call other-app /api/data --method POST --json '{"key": "value"}'