evaluators
Execute secrets-detector evaluator
Changed onDetect secrets and credentials in text
Request Body:
- input.text (string, required): The text to scan for secrets (API keys, passwords, etc.)
post/v2/evaluators/secrets-detector/execute
Request
- Base URLhttps://api.traceloop.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"input": {
"text": "Here is some text without any API keys or passwords."
}
}Response
OK
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking