Skip to main content
PATCH
Rate Task Output

Authorizations

x-api-key
string
header
required

Headers

current-workspace-id
string
required

Path Parameters

taskId
string
required

Body

application/json
rating
enum<string>
required
Available options:
positive,
negative
taskNodeId
string
userFeedback
string
expectedOutput
string

Response

200 - application/json

Rating submitted successfully

id
string
required
agentGraphId
string
required
customId
string
required
tokensUsed
number
required
totalCost
number
required
taskSummary
string | null
required
taskObjective
string
required
graphState
object | null
required
isViewed
boolean
required
canRerunTaskNode
boolean
required
status
enum<string>
required
Available options:
QUEUED,
IN_PROGRESS,
COMPLETED,
FAILED,
USER_INPUT_REQUIRED,
USER_CONSENT_REQUIRED,
STOPPED,
AUTHENTICATION_REQUIRED,
INSUFFICIENT_CREDITS,
WAITING
averageEvaluationScore
number | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
agentTaskNodes
object[]
required
contextFiles
object[]
required
agentGraph
object
required
initiationDetail
object | null
required
originalTaskQuery
string | null
taskQuery
string | null
taskState
object | null
userFeedback
string
rating
enum<string>
Available options:
positive,
negative
creditTransactions
object[]