List policy templates
/credentials/policy-templatesReturns the predefined policy templates that can be used when creating a credential, each with the list of permissions it grants. No template includes administrators.* or credentials.* permissions.
Available to any authenticated credential. Reading the templates does not grant any permission.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Header Parameters
Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.
length <= 64Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/credentials/policy-templates"{ "data": [ { "capabilities": [ "string" ], "id": "read_only", "name": "string", "object": "policy_template" } ]}Retrieve the permission catalog GET
Returns every permission supported by the API, with its code, resource type, description, whether it can be delegated to other credentials, and the API version in which it was introduced. Available to any authenticated credential. Reading the catalog does not grant any permission.
Retrieve a credential GET
Retrieves a credential by its public ID. The `secret` object exposes only metadata, such as the last four characters and the rotation date. The secret value itself is never returned by this operation. The response includes an `ETag` representing the current revision. Send this value in the `If-Match` header when updating the credential to avoid overwriting a newer version.