Agent Suggestions

Reject a pending agent suggestion

Marks a pending suggestion REJECTED, recording the reviewer. Returns 409 when the suggestion was already resolved by another reviewer.

post/v1/agent-suggestions/{id}/reject

Request

  • Base URL
    https://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 rejected successfully

agentIdstring
appliedJobVersioninteger
baseJobVersioninteger
createdAtstring date-time
descriptionstring
idstring
investigationIdstring
jobIdstring
organizationIdstring
reviewedAtstring date-time
reviewedBystring
status'PENDING' | 'APPLIED' | 'REJECTED'
teamIdsstring[]
templateInputsPatchJsonNode

A partial templateInputs object to deep-merge into the pipeline's current inputs. Objects merge recursively, and an array of named objects (like input.parsers) merges by entry name, so entries you omit are kept. Scalars and arrays of non-objects replace whole.

toolCallIdstring
updatedAtstring date-time

Example response

{
  "samples": [
    {
      "id": "034JA9FJ",
      "message": "This is a log message."
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.