Agent Suggestions

Get an agent suggestion

Returns one agent suggestion, including the template-inputs patch, the job version it was proposed against, and the sample events it was verified with.

get/v1/agent-suggestions/{id}

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 retrieved 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.