Runtime API reference¶
This reference describes Runtime Plane–related application programming interfaces (APIs) exposed by Trust3AI (for example configuration and connector operations via the Trust3AICloud). Each reference page is presented primarily from a representational state transfer (REST) perspective.
Typical REST calls include the following components:
- The host url (for trust3aicloud, "https://api.privaceracloud.com").
- The HTTP method for the operation, such as GET, POST, PUT, or DELETE.
- The path for the operation (for example a path that identifies a connector or configuration resource).
- Authentication for the request—see Authentication (header
x-pcloud-key). - Any request body (JSON) or query parameters the operation supports.
For how to supply these components from your shell, CI job, or application—and how to parse JSON responses—see your tool or language documentation.
This reference describes the paths, methods, and supported request and response shapes for each operation. Pages may add examples (for example curl) as they are filled in.
Authentication¶
Call the HTTP APIs in this reference with the x-pcloud-key request header set to your Trust3AI API key.
The portal shows the key only once when the runtime plane is created (or when it is first issued for your access). If you saved that value, use it in the header.
For example:
| Bash | |
|---|---|
If you did not save it, run the following in a shell that has kubectl access to your cluster. Replace <YOUR_RUNTIME_PLANE_NAMESPACE> with the Kubernetes namespace for your runtime plane.
| Bash | |
|---|---|
The command prints the decoded api key as plain text—treat the output as sensitive (do not log it or commit it to source control).
If the Secret or key name does not match your cluster, inspect the Secret’s Data key names without printing values:
| Bash | |
|---|---|
If you cannot recover the key from the cluster or the portal, use Regenerate (available on Portal) or your Trust3AI administrator, as described in Trust3AI Managed keys.