Agent Suggestions
Apply a pending agent suggestion
Re-verifies the suggestion's template-inputs patch against the pipeline's current version and applies it as a new job version, marking the suggestion APPLIED. The resolution is compare-and-set on the pending status: a reviewer who loses a race to another gets 409 rather than overwriting it. Findings mean the pipeline changed since the suggestion was recorded; nothing is applied and the suggestion stays PENDING. Applying restarts the pipeline from a savepoint.
post/v1/agent-suggestions/{id}/apply
Request
- Base URLhttps://docs.grepr.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header GREPR-API-KEY
- or OpenID Connect (https://grepr-prod.us.auth0.com/.well-known/openid-configuration)
Path parameters
idstring required
Response
Suggestion applied, or rejected by verification with findings
Example response
{
"suggestion": {
"samples": [
{
"id": "034JA9FJ",
"message": "This is a log message."
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.