OptionalAccountThe credential's accountId, when it has one.
The API key or token. Empty when the credential has none.
OptionalEndpointThe credential's endpoint, when it has one.
OptionalParseSet when the key starts with { but is not valid JSON. APIKey is then empty, so the
credential's text is never sent as a token, and the call fails before any request.
A decision driver's credential, read from the API key it was built with. A key resolved from an AI Credential arrives as that credential's values in JSON (
{"apiKey":"…"}for theAPI Keytype,{"apiKey":"…","endpoint":"…"}forAPI Key with Endpoint); a legacy key arrives as the raw string.