Agent Session Analytics

POST /v1/agent-session-analytics/jobs

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)

Request body

datasetIdstring required
endstring date-time required
maximumNamedGroupsinteger
modelIntegrationIdstring required
sessionCapinteger
startstring date-time required

Example request

{
  "query": {
    "query": "service:grepr-service-1"
  }
}

Response

Analytics run created

analysisVersionstring
analyzedSessionCountinteger
artifactByteSizeinteger
clusteringAlgorithmVersionstring
completedAtstring date-time
createdAtstring date-time
datasetIdstring
downloadAvailableboolean
embeddingDimensionsinteger
embeddingModelstring
exportedSessionCountinteger
failureReasonstring
jobIdstring
jobState'CREATED' | 'PENDING' | 'INFRA_UPDATE' | 'INFRA_UPDATE_WAIT' | 'VERIFYING' | 'WAITING' | 'RUNNING' | 'STOPPED' | 'FINISHED' | 'FAILED' | 'CANCELLED' | 'DELETED' | 'UPDATING' | 'STARTING' | 'RESTARTING' | 'STOPPING' | 'ROLLING_BACK' | 'DELETING'
labelModelstring
matchingSessionCountinteger
miscellaneousSessionCountinteger
namedGroupCountinteger
resultWasCappedboolean
state'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED'
warningCountinteger

Example response

{
  "request": {
    "query": {
      "query": "service:grepr-service-1"
    }
  }
}

Changes

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