Note user_id 'me' is reserved - it is the alias for the id of authorized user
userAppId.appId
string
必需
modelId
string
必需
versionId
string
必需
Query 参数
fields.confusionMatrix
string
可选
fields.cooccurrenceMatrix
string
可选
fields.labelCounts
string
可选
fields.binaryMetrics
string
可选
fields.testSet
string
可选
fields.metricsByArea
string
可选
fields.metricsByClass
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://dev-cn.your-api-server.com/v2/users//apps//models//versions//metrics'
返回响应
🟢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).
redirectInfo
object(statusRedirectInfo)
可选
modelVersion
object(ModelVersion)
可选
id
string
可选
createdAt
string<date-time>
可选
When the version was created.
status
object(apistatusStatus)
可选
activeConceptCount
integer<int64>
可选
metrics
object(EvalMetrics)
可选
totalInputCount
integer<int64>
number of inputs in the model version
可选
pretrainedModelConfig
object(PretrainedModelConfig)
可选
completedAt
string<date-time>
可选
When training of this version was completed.
description
string
Description about this version
可选
visibility
object(clarifaiapiVisibility)
可选
Visibility represents how visible the given resource is to other users. When authenticating a request we can tell if a user is a collaborator or a teammate for the the app that contains the resource and set their allowed visibility. We use that to restrict what they are allowed to see: If AllowedVisibility is PRIVATE then we allow PRIVATE (10), ORG (30), PUBLIC (50) If AllowedVisibility is ORG then we allow ORG (30), PUBLIC (50) If AllowedVisibility is PUBLIC then we allow PUBLIC (50) only.
appId
string
可选
The app the model version belongs to.
userId
string
可选
The user the model version belongs to.
modifiedAt
string<date-time>
When this model version was last modified
可选
metadata
object
To handle arbitrary json metadata you can use a struct field:
https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto