Skip to main content

Create Connection

POST 

/traces/connections

Persist a reusable trace-source connection; its credential is AES-256-GCM encrypted.

The source location is validated up front — the same check POST .../land runs — so a connection the platform could never pull from (an internal/off-allowlist endpoint, a bucket or prefix outside the platform's own or the tenant's namespace) is rejected at save time rather than accepted and failing every later land. Returns 403 if the caller does not belong to the named workspace, or if the connection's source location is not one the platform may pull from, and 400 if project_id names no project in a workspace the caller belongs to. Returns 422 if credential encryption is not configured for this deployment. Returns 409 if the connection's label is already used by another connection in the same workspace/project.

Request​

Responses​

Successful Response