Common message to identify the app in a url endpoint.
userId
string
Note user_id 'me' is reserved - it is the alias for the id of authorized user
可选
appId
string
可选
evalMetrics
array[object (EvalMetrics) {16}]
可选
eval_info, id, model, and ground_truth_dataset will be used when creating the evaluation If no dataset is provided, all app data that is annotated with concepts from the model will be used.
status
object(apistatusStatus)
可选
userId
string
user id that owns this evaluation
可选
appId
string
app id that owns this evaluation
可选
id
string
Id of this evaluation
可选
model
object
可选
groundTruthDataset
object(Dataset)
可选
summary
object(MetricsSummary)
可选
confusionMatrix
object(ConfusionMatrix)
可选
cooccurrenceMatrix
object(CooccurrenceMatrix)
可选
labelCounts
object(LabelDistribution)
可选
binaryMetrics
array[object (BinaryMetrics) {13}]
可选
testSet
array[object (EvalTestSetEntry) {4}]
可选
metricsByArea
array[object (BinaryMetrics) {13}]
可选
metricsByClass
array[object (BinaryMetrics) {13}]
可选
trackerMetrics
array[object (TrackerMetrics) {6}]
可选
evalInfo
object(apiEvalInfo)
可选
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://dev-cn.your-api-server.com/v2/evaluations' \
--header'Content-Type: application/json' \
--data-raw''
返回响应
🟢200A successful response.
application/json
Body
status
object(apistatusStatus)
可选
code
object
可选
description
string
可选
A longer description of the error.
details
string
可选
More details of the given error.
stackTrace
array[string]
可选
For some environment we may return a stack trace to help debug any issues.
percentCompleted
integer<int64>
specifically for long running jobs
可选
timeRemaining
integer<int64>
if status is pending, how much time is remaining (in seconds)
可选
reqId
string
If we want to return a request id in the base status field
可选
internalDetails
string
可选
Internal Annotation (do not set in production, for internal Clarifai use only).