Skip to content

CredentialSnapshotEntry

One entry of a run’s credential stack as it stood when the run started: which credential, and this stack’s rules for it. It names the credential but holds none of its secrets; those are read live at each call, so a rotated key is picked up straight away.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
credentialIduuid
credentialNamestringThe credential’s name when the run started, for the run’s record.
providerModelKeyProvider
endpointKindCredentialEndpointKind
allowedModelsstring[] | null
allowedEndpointKindsCredentialEndpointKind[] | null
enabledboolean
keyHintsstring[]The hints of the credential’s keys when the run started, for the run’s record.
{
"credentialId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"credentialName": "...",
"provider": "Anthropic",
"endpointKind": "Public",
"allowedModels": [
"..."
],
"allowedEndpointKinds": [
"Public"
],
"enabled": false,
"keyHints": [
"..."
]
}