Skip to main content

API 定义

定义

auth.credential_key

NameDescriptionSchema
access_key
optional
string
label
optional
Optional credentials labelstring
last_used
optional
string (date-time)
last_used_from
optional
string

auth.credentials

NameDescriptionSchema
access_key
optional
Credentials access keystring
label
optional
Optional credentials labelstring
secret_key
optional
Credentials secret keystring

auth.role

类型 : 枚举 (admin, superuser, user, annotator)

events.debug_image_sample_response

NameDescriptionSchema
event
optional
Debug image eventobject
max_iteration
optional
maximal valid iteration for the variantinteger
min_iteration
optional
minimal valid iteration for the variantinteger
scroll_id
optional
Scroll ID to pass to the next calls to get_debug_image_sample or next_debug_image_samplestring

events.debug_images_response

NameDescriptionSchema
metrics
optional
Debug image events grouped by tasks and iterations< events.debug_images_response_task_metrics > array
scroll_id
optional
Scroll ID for getting more resultsstring

events.debug_images_response_task_metrics

NameDescriptionSchema
iterations
optional
< iterations > array
task
optional
Task IDstring

迭代次数

NameDescriptionSchema
events
optional
< object > array
iter
optional
Iteration numberinteger

events.event_type_enum

类型 : 枚举 (training_stats_scalar, training_stats_vector, training_debug_image, plot, log)

events.log_level_enum

类型 : 枚举 (notset, debug, verbose, info, warn, warning, error, fatal, critical)

events.metric_variants

NameDescriptionSchema
metric
optional
The metric namestring
variants
optional
The names of the metric variants< string > array

events.metrics_image_event

一张图片或视频被转储到存储中以进行调试

NameDescriptionSchema
iter
optional
Iterationinteger
key
optional
File keystring
metric
optional
Metric name, e.g. 'count', 'loss', 'accuracy'string
task
required
Task ID (required)string
timestamp
optional
Epoch milliseconds UTC, will be set by the server if not set.number
type
required
'training_debug_image'string
url
optional
File URLstring
variant
optional
E.g. 'class_1', 'total', 'averagestring

events.metrics_plot_event

整个图表(不是单个数据点)及其布局。 用于在评估网络时绘制ROC曲线、置信矩阵等。

NameDescriptionSchema
iter
optional
Iterationinteger
metric
optional
Metric name, e.g. 'count', 'loss', 'accuracy'string
plot_str
optional
An entire plot (not single datapoint) and it's layout.
Used for plotting ROC curves, confidence matrices, etc. when evaluating the net.
string
skip_validation
optional
If set then plot_str is not checked for a valid json. The default is Falseboolean
task
required
Task ID (required)string
timestamp
optional
Epoch milliseconds UTC, will be set by the server if not set.number
type
required
'plot'string
variant
optional
E.g. 'class_1', 'total', 'averagestring

events.metrics_scalar_event

用于在训练任务期间报告标量指标

NameDescriptionSchema
iter
optional
Iterationinteger
metric
optional
Metric name, e.g. 'count', 'loss', 'accuracy'string
task
required
Task ID (required)string
timestamp
optional
Epoch milliseconds UTC, will be set by the server if not set.number
type
required
'training_stats_scalar'string
value
optional
number
variant
optional
E.g. 'class_1', 'total', 'average'string
x_axis_label
optional
Custom X-Axis label to be used when displaying the scalars histogramstring

events.metrics_vector_event

用于在训练任务期间报告向量指标

NameDescriptionSchema
iter
optional
Iterationinteger
metric
optional
Metric name, e.g. 'count', 'loss', 'accuracy'string
task
required
Task ID (required)string
timestamp
optional
Epoch milliseconds UTC, will be set by the server if not set.number
type
optional
'training_stats_vector'string
values
optional
vector of float values< number > array
variant
optional
E.g. 'class_1', 'total', 'averagestring

events.plot_sample_response

NameDescriptionSchema
events
optional
Plot events< object > array
max_iteration
optional
maximal valid iteration for the metricinteger
min_iteration
optional
minimal valid iteration for the metricinteger
scroll_id
optional
Scroll ID to pass to the next calls to get_plot_sample or next_plot_samplestring

events.plots_response

NameDescriptionSchema
metrics
optional
Plot events grouped by tasks and iterations< events.plots_response_task_metrics > array
scroll_id
optional
Scroll ID for getting more resultsstring

事件.绘图响应任务指标

NameDescriptionSchema
iterations
optional
< iterations > array
task
optional
Task IDstring

迭代次数

NameDescriptionSchema
events
optional
< object > array
iter
optional
Iteration numberinteger

events.scalar_key_enum

类型 : 枚举 (iter, timestamp, iso_time)

events.single_value_metrics_response

NameDescriptionSchema
tasks
optional
Single value metrics grouped by task< events.single_value_task_metrics > array

events.single_value_task_metrics

NameDescriptionSchema
task
optional
Task IDstring
task_name
optional
Task namestring
values
optional
< values > array

NameSchema
metric
optional
string
timestamp
optional
number
value
optional
number
variant
optional
string

events.task_log_event

与任务关联的日志事件。

NameDescriptionSchema
level
optional
Log level.events.log_level_enum
msg
optional
Log message.string
task
required
Task ID (required)string
timestamp
optional
Epoch milliseconds UTC, will be set by the server if not set.number
type
required
'log'string
worker
optional
Name of machine running the task.string

events.task_metric

NameDescriptionSchema
metric
optional
Metric namestring
task
required
Task IDstring

events.task_metric_variants

NameDescriptionSchema
metric
optional
Metric namestring
task
required
Task IDstring
variants
optional
Metric variant names< string > array

models.last_metrics_event

NameDescriptionSchema
count
optional
The total count of reported valuesinteger
first_value
optional
First value reportednumber
first_value_iteration
optional
The iteration at which the first value was reportedinteger
max_value
optional
Maximum value reportednumber
max_value_iteration
optional
The iteration at which the maximum value was reportedinteger
mean_value
optional
The mean valuenumber
metric
optional
Metric namestring
min_value
optional
Minimum value reportednumber
min_value_iteration
optional
The iteration at which the minimum value was reportedinteger
value
optional
Last value reportednumber
variant
optional
Variant namestring
x_axis_label
optional
The user defined value for the X-Axis name stored with the eventstring

models.last_metrics_variants

最后的指标事件,每个变体哈希对应一个

类型 : < string, models.last_metrics_event > 映射

models.metadata_item

NameDescriptionSchema
key
optional
The key uniquely identifying the metadata item inside the given entitystring
type
optional
The type of the metadata itemstring
value
optional
The value stored in the metadata itemstring

模型.模型

NameDescriptionSchema
comment
optional
Model commentstring
company
optional
Company idstring
created
optional
Model creation timestring (date-time)
design
optional
Json object representing the model design. Should be identical to the network design of the task which created the modelobject
framework
optional
Framework on which the model is based. Should be identical to the framework of the task which created the modelstring
id
optional
Model idstring
labels
optional
Json object representing the ids of the labels in the model. The keys are the layers' names and the values are the ids.< string, integer > map
last_iteration
optional
Last iteration reported for this modelinteger
last_metrics
optional
Last metric variants (hash to events), one for each metric hash< string, models.last_metrics_variants > map
last_update
optional
Model last update timestring (date-time)
metadata
optional
Model metadata< string, models.metadata_item > map
name
optional
Model namestring
parent
optional
Parent model IDstring
project
optional
Associated project IDstring
ready
optional
Indication if the model is final and can be used by other tasksboolean
stats
optional
Model statisticsstats
system_tags
optional
System tags. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags< string > array
task
optional
Task ID of task in which the model was createdstring
ui_cache
optional
UI cache for this modelobject
uri
optional
URI for the model, pointing to the destination storage.string
user
optional
Associated user idstring

统计

NameDescriptionSchema
labels_count
optional
Number of the model labelsinteger

models.multi_field_pattern_data

NameDescriptionSchema
datetime
optional
Date time conditions (applicable only to datetime fields). Either 'pattern' or 'datetime' should be specifiedstring
fields
optional
List of field names< string > array
pattern
optional
Pattern string (regex). Either 'pattern' or 'datetime' should be specifiedstring

组织.字段映射

NameDescriptionSchema
field
required
The source field name as specified in the only_fieldsstring
name
optional
The column name in the exported csv filestring
values
optional
< organization.value_mapping > array

组织.值映射

NameDescriptionSchema
key
required
Original valueobject
value
required
Translated valueobject

项目.指标变体结果

NameDescriptionSchema
metric
optional
Metric namestring
metric_hash
optional
Metric name hash. Used instead of the metric name when categorizing
last metrics events in task objects.
string
variant
optional
Variant namestring
variant_hash
optional
Variant name hash. Used instead of the variant name when categorizing
last metrics events in task objects.
string

项目.多字段模式数据

NameDescriptionSchema
datetime
optional
Date time conditions (applicable only to datetime fields). Either 'pattern' or 'datetime' should be specifiedstring
fields
optional
List of field names< string > array
pattern
optional
Pattern string (regex). Either 'pattern' or 'datetime' should be specifiedstring

项目.项目

NameDescriptionSchema
basename
optional
Project base namestring
company
optional
Company idstring
created
optional
Creation timestring (date-time)
default_output_destination
optional
The default output destination URL for new tasks under this projectstring
description
optional
Project descriptionstring
id
optional
Project idstring
last_update
optional
Last project update time. Reflects the last time the project metadata was changed or a task in this project has changed statusstring (date-time)
name
optional
Project namestring
system_tags
optional
System tags. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags< string > array
user
optional
Associated user idstring

projects.projects_get_all_response_single

NameDescriptionSchema
basename
optional
Project base namestring
company
optional
Company idstring
created
optional
Creation timestring (date-time)
dataset_stats
optional
Project dataset statisticsdataset_stats
default_output_destination
optional
The default output destination URL for new tasks under this projectstring
description
optional
Project descriptionstring
hidden
optional
Returned if the search_hidden flag was specified in the get_all_ex call and the project is hiddenboolean
id
optional
Project idstring
last_update
optional
Last project update time. Reflects the last time the project metadata was changed or a task in this project has changed statusstring (date-time)
name
optional
Project namestring
own_datasets
optional
The amount of datasets/hyperdatasers under this project (without children projects). Returned if 'check_own_contents' flag is set in the request and children_type is set to 'dataset' or 'hyperdataset'integer
own_models
optional
The amount of models under this project (without children projects). Returned if 'check_own_contents' flag is set in the requestinteger
own_tasks
optional
The amount of tasks under this project (without children projects). Returned if 'check_own_contents' flag is set in the requestinteger
stats
optional
Additional project statsprojects.stats
sub_projects
optional
The list of sub projects< sub_projects > array
system_tags
optional
System tags. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags< string > array
user
optional
Associated user idstring

数据集统计

NameDescriptionSchema
file_count
optional
The number of files stored in the datasetinteger
total_size
optional
The total dataset size in bytesinteger

子项目

NameDescriptionSchema
id
optional
Subproject IDstring
name
optional
Subproject namestring

项目统计

NameDescriptionSchema
active
optional
Stats for active tasksprojects.stats_status_count
archived
optional
Stats for archived tasksprojects.stats_status_count
datasets
optional
Stats for childrent datasetsprojects.stats_datasets

项目.统计数据集

NameDescriptionSchema
count
optional
Number of datasetsinteger
tags
optional
Dataset tags< string > array

项目状态统计数量

NameDescriptionSchema
completed_tasks_24h
optional
Number of tasks completed in the last 24 hoursinteger
last_task_run
optional
The most recent started time of a taskinteger
status_count
optional
Status countsstatus_count
total_runtime
optional
Total run time of all tasks in project (in seconds)integer
total_tasks
optional
Number of tasksinteger

status_count

NameDescriptionSchema
closed
optional
Number of 'closed' tasks in projectinteger
completed
optional
Number of 'completed' tasks in projectinteger
created
optional
Number of 'created' tasks in projectinteger
failed
optional
Number of 'failed' tasks in projectinteger
in_progress
optional
Number of 'in_progress' tasks in projectinteger
published
optional
Number of 'published' tasks in projectinteger
queued
optional
Number of 'queued' tasks in projectinteger
stopped
optional
Number of 'stopped' tasks in projectinteger
unknown
optional
Number of 'unknown' tasks in projectinteger

项目.URL

NameSchema
artifact_urls
optional
< string > array
event_urls
optional
< string > array
model_urls
optional
< string > array

队列.入口

NameDescriptionSchema
added
optional
Time this entry was added to the queuestring (date-time)
task
optional
Queued task IDstring

queues.metadata_item

NameDescriptionSchema
key
optional
The key uniquely identifying the metadata item inside the given entitystring
type
optional
The type of the metadata itemstring
value
optional
The value stored in the metadata itemstring

队列.队列

NameDescriptionSchema
company
optional
Company idstring
created
optional
Queue creation timestring (date-time)
display_name
optional
Display namestring
entries
optional
List of ordered queue entries< queues.entry > array
id
optional
Queue idstring
metadata
optional
Queue metadata< string, queues.metadata_item > map
name
optional
Queue namestring
system_tags
optional
System tags. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags< string > array
user
optional
Associated user idstring

队列.队列_指标

NameDescriptionSchema
avg_waiting_times
optional
List of average waiting times for tasks in the queue. The points correspond to the timestamps in the dates list. If more than one value exists for the given interval then the maximum value is taken.< number > array
dates
optional
List of timestamps (in seconds from epoch) in the acceding order. The timestamps are separated by the requested interval. Timestamps where no queue status change was recorded are omitted.< integer > array
queue
optional
ID of the queuestring
queue_lengths
optional
List of tasks counts in the queue. The points correspond to the timestamps in the dates list. If more than one value exists for the given interval then the count that corresponds to the maximum average value is taken.< integer > array

报告.工件

NameDescriptionSchema
content_size
optional
Raw data length in bytesinteger
display_data
optional
User-defined list of key/value pairs, sorted< < string > array > array
hash
optional
Hash of entire raw datastring
key
required
Entry keystring
mode
optional
System defined input/output indicationreports.artifact_mode_enum
timestamp
optional
Epoch time when artifact was createdinteger
type
required
System defined typestring
type_data
optional
Additional fields defined by the systemreports.artifact_type_data
uri
optional
Raw data locationstring

reports.artifact_mode_enum

类型 : 枚举 (输入, 输出)

reports.artifact_type_data

NameDescriptionSchema
content_type
optional
System defined raw data content typestring
data_hash
optional
Hash of raw data, without any headers or descriptive partsstring
preview
optional
Description or textual datastring

reports.configuration_item

NameDescriptionSchema
description
optional
The parameter description. Optionalstring
name
optional
Name of the parameter. Should be uniquestring
type
optional
Type of the parameter. Optionalstring
value
optional
Value of the parameterstring

reports.debug_images_response_task_metrics

NameDescriptionSchema
iterations
optional
< iterations > array
task
optional
Task IDstring

迭代次数

NameDescriptionSchema
events
optional
< object > array
iter
optional
Iteration numberinteger

报告执行

NameDescriptionSchema
artifacts
optional
Task artifacts< reports.artifact > array
docker_cmd
optional
Command for running docker script for the execution of the taskstring
framework
optional
Framework related to the task. Case insensitive. Mandatory for Training tasks.string
model
optional
Execution input model ID Not applicable for Register (Import) tasksstring
model_desc
optional
Json object representing the Model descriptorsobject
model_labels
optional
Json object representing the ids of the labels in the model.
The keys are the layers' names and the values are the IDs.
Not applicable for Register (Import) tasks.
Mandatory for Training tasks
< string, integer > map
parameters
optional
Json object containing the Task parametersobject
queue
optional
Queue ID where task was queued.string

reports.last_metrics_event

NameDescriptionSchema
count
optional
The total count of reported valuesinteger
first_value
optional
First value reportednumber
first_value_iteration
optional
The iteration at which the first value was reportedinteger
max_value
optional
Maximum value reportednumber
max_value_iteration
optional
The iteration at which the maximum value was reportedinteger
mean_value
optional
The mean valuenumber
metric
optional
Metric namestring
min_value
optional
Minimum value reportednumber
min_value_iteration
optional
The iteration at which the minimum value was reportedinteger
value
optional
Last value reportednumber
variant
optional
Variant namestring
x_axis_label
optional
The user defined value for the X-Axis name stored with the eventstring

reports.last_metrics_variants

最后的指标事件,每个变体哈希对应一个

类型 : < string, reports.last_metrics_event > 映射

reports.metric_variants

NameDescriptionSchema
metric
optional
The metric namestring
variants
optional
The names of the metric variants< string > array

reports.multi_field_pattern_data

NameDescriptionSchema
datetime
optional
Date time conditions (applicable only to datetime fields). Either 'pattern' or 'datetime' should be specifiedstring
fields
optional
List of field names< string > array
pattern
optional
Pattern string (regex). Either 'pattern' or 'datetime' should be specifiedstring

报告输出

NameDescriptionSchema
destination
optional
Storage id. This is where output files will be stored.string
error
optional
Last error textstring
model
optional
Model id.string
result
optional
Task result. Values: 'success', 'failure'string

reports.params_item

NameDescriptionSchema
description
optional
The parameter description. Optionalstring
name
optional
Name of the parameter. The combination of section and name should be uniquestring
section
optional
Section that the parameter belongs tostring
type
optional
Type of the parameter. Optionalstring
value
optional
Value of the parameterstring

报告.报告

NameDescriptionSchema
comment
optional
Free text commentstring
company
optional
Company IDstring
created
optional
Report creation time (UTC)string (date-time)
id
optional
Report idstring
last_update
optional
Last time this report was created, edited, changedstring (date-time)
name
optional
Report Namestring
project
optional
Project ID of the project to which this report is assignedstring
published
optional
Report publish timestring (date-time)
report
optional
Report templatestring
report_assets
optional
List of the external report assets< string > array
status
optional
reports.report_status_enum
status_changed
optional
Last status change timestring (date-time)
status_message
optional
free text string representing info about the statusstring
status_reason
optional
Reason for last status changestring
system_tags
optional
System tags list. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags list< string > array
user
optional
Associated user idstring

reports.report_status_enum

类型 : 枚举 (created, published)

reports.scalar_key_enum

类型 : 枚举 (iter, timestamp, iso_time)

reports.script

NameDescriptionSchema
binary
optional
Binary to use when running the script
Default : "python"
string
branch
optional
Repository branch id If not provided and tag not provided, default repository branch is used.string
diff
optional
Uncommitted changes found in the repository when task was runstring
entry_point
optional
Path to execute within the repositorystring
repository
optional
Name of the repository where the script is locatedstring
requirements
optional
A JSON object containing requirements strings by keyobject
tag
optional
Repository tagstring
version_num
optional
Version (changeset) number. Optional (default is head version) Unused if tag is provided.string
working_dir
optional
Path to the folder from which to run the script Default - root folder of repositorystring

reports.section_params

任务部分参数

类型 : < string, reports.params_item > 映射

reports.single_value_task_metrics

NameDescriptionSchema
task
optional
Task IDstring
task_name
optional
Task namestring
values
optional
< values > array

NameSchema
metric
optional
string
timestamp
optional
number
value
optional
number
variant
optional
string

报告任务

NameDescriptionSchema
active_duration
optional
Task duration time (seconds)integer
comment
optional
Free text commentstring
company
optional
Company IDstring
completed
optional
Task end time (UTC)string (date-time)
configuration
optional
Task configuration params< string, reports.configuration_item > map
container
optional
Docker container parameters< string, string > map
created
optional
Task creation time (UTC)string (date-time)
execution
optional
Task execution paramsreports.execution
hyperparams
optional
Task hyper params per section< string, reports.section_params > map
id
optional
Task idstring
last_change
optional
Last time any update was done to the taskstring (date-time)
last_iteration
optional
Last iteration reported for this taskinteger
last_metrics
optional
Last metric variants (hash to events), one for each metric hash< string, reports.last_metrics_variants > map
last_update
optional
Last time this task was created, edited, changed or events for this task were reportedstring (date-time)
last_worker
optional
ID of last worker that handled the taskstring
last_worker_report
optional
Last time a worker reported while working on this taskstring (date-time)
models
optional
Task modelsreports.task_models
name
optional
Task Namestring
output
optional
Task output paramsreports.output
parent
optional
Parent task idstring
project
optional
Project ID of the project to which this task is assignedstring
published
optional
Task publish timestring (date-time)
runtime
optional
Task runtime mappingobject
script
optional
Script inforeports.script
started
optional
Task start time (UTC)string (date-time)
status
optional
reports.task_status_enum
status_changed
optional
Last status change timestring (date-time)
status_message
optional
free text string representing info about the statusstring
status_reason
optional
Reason for last status changestring
system_tags
optional
System tags list. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags list< string > array
type
optional
Type of task. Values: 'training', 'testing'reports.task_type_enum
user
optional
Associated user idstring

报告.任务模型项

NameDescriptionSchema
model
required
The model IDstring
name
required
The task model namestring

报告.任务模型

NameDescriptionSchema
input
optional
The list of task input models< reports.task_model_item > array
output
optional
The list of task output models< reports.task_model_item > array

报告.任务状态枚举

类型 : 枚举 (created, queued, in_progress, stopped, published, publishing, closed, failed, completed, unknown)

reports.task_type_enum

类型 : 枚举 (训练, 测试, 推理, 数据处理, 应用, 监控, 控制器, 优化器, 服务, 质量控制, 自定义)

serving.container_info

NameDescriptionSchema
age_sec
optional
Amount of seconds since the container registrationinteger
endpoint
optional
Endpoint namestring
id
optional
Container IDstring
input_size
optional
Input sizestring
input_type
optional
Input typestring
last_update
optional
The latest time when the container instance sent updatestring (date-time)
model
optional
Model namestring
model_source
optional
Model sourcestring
model_version
optional
Model versionstring
preprocess_artifact
optional
Preprocess Artifactstring
uptime_sec
optional
Model instance uptime in secondsinteger
url
optional
Model urlstring

serving.container_instance_stats

NameDescriptionSchema
cpu_count
optional
CPU Countinteger
gpu_count
optional
GPU Countinteger
id
optional
Container IDstring
last_update
optional
The latest time when the container instance sent updatestring (date-time)
latency_ms
optional
Average request latency in msinteger
reference
optional
Array of reference items provided by the container instance. Can contain multiple reference items with the same type< reference > array
requests
optional
Number of requestsinteger
requests_min
optional
Average requests per minutenumber
uptime_sec
optional
Uptime in secondsinteger

参考

NameDescriptionSchema
type
required
The type of the reference itemenum (app_id, app_instance, model, task, url)
value
required
The reference item valuestring

serving.endpoint_stats

NameDescriptionSchema
endpoint
optional
Endpoint namestring
instances
optional
The number of model serving instancesinteger
last_update
optional
The latest time when one of the model instances was updatedstring (date-time)
latency_ms
optional
Average of latency of model instances in msinteger
model
optional
Model namestring
requests
optional
Total requests processed by model instancesinteger
requests_min
optional
Average of request rate of model instances per minutenumber
uptime_sec
optional
Max of model instance uptime in secondsinteger
url
optional
Model urlstring

serving.machine_stats

NameDescriptionSchema
cpu_temperature
optional
CPU temperature< number > array
cpu_usage
optional
Average CPU usage per core< number > array
disk_free_home
optional
Free space in % of /home drivenumber
disk_free_temp
optional
Free space in % of /tmp drivenumber
disk_read
optional
Mbytes read per secondnumber
disk_write
optional
Mbytes write per secondnumber
gpu_memory_free
optional
GPU free memory MBs< number > array
gpu_memory_used
optional
GPU used memory MBs< number > array
gpu_temperature
optional
GPU temperature< number > array
gpu_usage
optional
Average GPU usage per GPU card< number > array
memory_free
optional
Free memory MBsnumber
memory_used
optional
Used memory MBsnumber
network_rx
optional
Mbytes per secondnumber
network_tx
optional
Mbytes per secondnumber

storage.aws

AWS S3 存储设置

NameDescriptionSchema
buckets
optional
Credential settings per bucket< storage.aws_bucket > array
key
optional
Access keystring
region
optional
AWS regionstring
secret
optional
Secret keystring
token
optional
Access tokenstring
use_credentials_chain
optional
If set then use host credentials
Default : false
boolean

storage.aws_bucket

每个S3存储桶的设置

NameDescriptionSchema
acl
optional
ACLstring
bucket
optional
The name of the bucketstring
host
optional
Host address (for minio servers)string
key
optional
Access keystring
multipart
optional
Multipart upload
Default : true
boolean
region
optional
AWS Regionstring
secret
optional
Secret keystring
secure
optional
Use SSL connection
Default : true
boolean
subdir
optional
The path to matchstring
token
optional
Access tokenstring
use_credentials_chain
optional
Use host configured credentials
Default : false
boolean
verify
optional
Verify server certificate
Default : true
boolean

storage.azure

Azure 存储设置

NameDescriptionSchema
containers
optional
Credentials per container< storage.azure_container > array

storage.azure_container

Azure 容器设置

NameDescriptionSchema
account_key
optional
Account keystring
account_name
optional
Account namestring
container_name
optional
The name of the containerstring

存储.google

谷歌存储设置

NameDescriptionSchema
buckets
optional
Credentials per bucket< storage.google_bucket > array
credentials_json
optional
The contents of the credentials json filestring
project
optional
Project namestring

storage.google_bucket

每个Google存储桶的设置

NameDescriptionSchema
bucket
optional
The name of the bucketstring
credentials_json
optional
The contents of the credentials json filestring
project
optional
The name of the projectstring
subdir
optional
The path to matchstring

任务.工件

NameDescriptionSchema
content_size
optional
Raw data length in bytesinteger
display_data
optional
User-defined list of key/value pairs, sorted< < string > array > array
hash
optional
Hash of entire raw datastring
key
required
Entry keystring
mode
optional
System defined input/output indicationtasks.artifact_mode_enum
timestamp
optional
Epoch time when artifact was createdinteger
type
required
System defined typestring
type_data
optional
Additional fields defined by the systemtasks.artifact_type_data
uri
optional
Raw data locationstring

任务.artifact_id

NameDescriptionSchema
key
required
Entry keystring
mode
optional
System defined input/output indicationtasks.artifact_mode_enum

tasks.artifact_mode_enum

类型 : 枚举 (输入, 输出)

任务.工件类型数据

NameDescriptionSchema
content_type
optional
System defined raw data content typestring
data_hash
optional
Hash of raw data, without any headers or descriptive partsstring
preview
optional
Description or textual datastring

任务.配置项

NameDescriptionSchema
description
optional
The parameter description. Optionalstring
name
optional
Name of the parameter. Should be uniquestring
type
optional
Type of the parameter. Optionalstring
value
optional
Value of the parameterstring

任务执行

NameDescriptionSchema
artifacts
optional
Task artifacts< tasks.artifact > array
docker_cmd
optional
Command for running docker script for the execution of the taskstring
framework
optional
Framework related to the task. Case insensitive. Mandatory for Training tasks.string
model
optional
Execution input model ID Not applicable for Register (Import) tasksstring
model_desc
optional
Json object representing the Model descriptorsobject
model_labels
optional
Json object representing the ids of the labels in the model.
The keys are the layers' names and the values are the IDs.
Not applicable for Register (Import) tasks.
Mandatory for Training tasks
< string, integer > map
parameters
optional
Json object containing the Task parametersobject
queue
optional
Queue ID where task was queued.string

tasks.last_metrics_event

NameDescriptionSchema
count
optional
The total count of reported valuesinteger
first_value
optional
First value reportednumber
first_value_iteration
optional
The iteration at which the first value was reportedinteger
max_value
optional
Maximum value reportednumber
max_value_iteration
optional
The iteration at which the maximum value was reportedinteger
mean_value
optional
The mean valuenumber
metric
optional
Metric namestring
min_value
optional
Minimum value reportednumber
min_value_iteration
optional
The iteration at which the minimum value was reportedinteger
value
optional
Last value reportednumber
variant
optional
Variant namestring
x_axis_label
optional
The user defined value for the X-Axis name stored with the eventstring

tasks.last_metrics_variants

最后的指标事件,每个变体哈希对应一个

类型 : < string, tasks.last_metrics_event > 映射

tasks.model_type_enum

类型 : 枚举 (输入, 输出)

tasks.multi_field_pattern_data

NameDescriptionSchema
datetime
optional
Date time conditions (applicable only to datetime fields). Either 'pattern' or 'datetime' should be specifiedstring
fields
optional
List of field names< string > array
pattern
optional
Pattern string (regex). Either 'pattern' or 'datetime' should be specifiedstring

任务输出

NameDescriptionSchema
destination
optional
Storage id. This is where output files will be stored.string
error
optional
Last error textstring
model
optional
Model id.string
result
optional
Task result. Values: 'success', 'failure'string

任务.参数键

NameDescriptionSchema
name
optional
Name of the parameter. If the name is ommitted then the corresponding operation is performed on the whole sectionstring
section
optional
Section that the parameter belongs tostring

任务.参数项

NameDescriptionSchema
description
optional
The parameter description. Optionalstring
name
optional
Name of the parameter. The combination of section and name should be uniquestring
section
optional
Section that the parameter belongs tostring
type
optional
Type of the parameter. Optionalstring
value
optional
Value of the parameterstring

tasks.replace_hyperparams_enum

类型 : 枚举 (无, 部分, 全部)

任务脚本

NameDescriptionSchema
binary
optional
Binary to use when running the script
Default : "python"
string
branch
optional
Repository branch id If not provided and tag not provided, default repository branch is used.string
diff
optional
Uncommitted changes found in the repository when task was runstring
entry_point
optional
Path to execute within the repositorystring
repository
optional
Name of the repository where the script is locatedstring
requirements
optional
A JSON object containing requirements strings by keyobject
tag
optional
Repository tagstring
version_num
optional
Version (changeset) number. Optional (default is head version) Unused if tag is provided.string
working_dir
optional
Path to the folder from which to run the script Default - root folder of repositorystring

任务.部分参数

任务部分参数

类型 : < string, tasks.params_item > 映射

任务.任务

NameDescriptionSchema
active_duration
optional
Task duration time (seconds)integer
comment
optional
Free text commentstring
company
optional
Company IDstring
completed
optional
Task end time (UTC)string (date-time)
configuration
optional
Task configuration params< string, tasks.configuration_item > map
container
optional
Docker container parameters< string, string > map
created
optional
Task creation time (UTC)string (date-time)
execution
optional
Task execution paramstasks.execution
hyperparams
optional
Task hyper params per section< string, tasks.section_params > map
id
optional
Task idstring
last_change
optional
Last time any update was done to the taskstring (date-time)
last_iteration
optional
Last iteration reported for this taskinteger
last_metrics
optional
Last metric variants (hash to events), one for each metric hash< string, tasks.last_metrics_variants > map
last_update
optional
Last time this task was created, edited, changed or events for this task were reportedstring (date-time)
last_worker
optional
ID of last worker that handled the taskstring
last_worker_report
optional
Last time a worker reported while working on this taskstring (date-time)
models
optional
Task modelstasks.task_models
name
optional
Task Namestring
output
optional
Task output paramstasks.output
parent
optional
Parent task idstring
project
optional
Project ID of the project to which this task is assignedstring
published
optional
Task publish timestring (date-time)
runtime
optional
Task runtime mappingobject
script
optional
Script infotasks.script
started
optional
Task start time (UTC)string (date-time)
status
optional
tasks.task_status_enum
status_changed
optional
Last status change timestring (date-time)
status_message
optional
free text string representing info about the statusstring
status_reason
optional
Reason for last status changestring
system_tags
optional
System tags list. This field is reserved for system use, please don't use it.< string > array
tags
optional
User-defined tags list< string > array
type
optional
Type of task. Values: 'training', 'testing'tasks.task_type_enum
user
optional
Associated user idstring

任务.任务模型项

NameDescriptionSchema
model
required
The model IDstring
name
required
The task model namestring

任务.任务模型

NameDescriptionSchema
input
optional
The list of task input models< tasks.task_model_item > array
output
optional
The list of task output models< tasks.task_model_item > array

tasks.task_status_enum

类型 : 枚举 (created, queued, in_progress, stopped, published, publishing, closed, failed, completed, unknown)

tasks.task_type_enum

类型 : 枚举 (训练, 测试, 推理, 数据处理, 应用, 监控, 控制器, 优化器, 服务, 质量控制, 自定义)

tasks.task_urls

NameSchema
artifact_urls
optional
< string > array
event_urls
optional
< string > array
model_urls
optional
< string > array

用户.获取当前用户响应_用户对象

类似于用户,但返回公司对象而不是ID

NameDescriptionSchema
avatar
optional
string
company
optional
company
family_name
optional
string
given_name
optional
string
id
optional
string
name
optional
string
preferences
optional
User preferencesobject
role
optional
string

公司

NameSchema
id
optional
string
name
optional
string

用户.用户

NameDescriptionSchema
avatar
optional
Avatar URLstring
company
optional
Company IDstring
created
optional
User creation datestring (date-time)
email
optional
User emailstring (email)
family_name
optional
Family namestring
given_name
optional
Given namestring
id
optional
User IDstring
name
optional
Full namestring
providers
optional
Providers uses has logged-in withobject
role
optional
User's role (admin only)string

workers.activity_series

NameDescriptionSchema
counts
optional
List of worker counts corresponding to the timestamps in the dates list. None values are returned for the dates with no workers.< integer > array
dates
optional
List of timestamps (in seconds from epoch) in the acceding order. The timestamps are separated by the requested interval.< integer > array

workers.aggregation_stats

NameDescriptionSchema
aggregation
optional
workers.aggregation_type
values
optional
List of values corresponding to the dates in metric statistics< number > array

workers.aggregation_type

指标聚合类型

类型 : 枚举 (avg, min, max)

workers.current_task_entry

NameDescriptionSchema
id
optional
Worker IDstring
last_iteration
optional
Last task iterationinteger
name
optional
Worker namestring
running_time
optional
Task running timeinteger

workers.id_name_entry

NameDescriptionSchema
id
optional
Worker IDstring
name
optional
Worker namestring

workers.machine_stats

NameDescriptionSchema
cpu_temperature
optional
CPU temperature< number > array
cpu_usage
optional
Average CPU usage per core< number > array
disk_free_home
optional
Free space in % of /home drivenumber
disk_free_temp
optional
Free space in % of /tmp drivenumber
disk_read
optional
Mbytes read per secondnumber
disk_write
optional
Mbytes write per secondnumber
gpu_memory_free
optional
GPU free memory MBs< number > array
gpu_memory_used
optional
GPU used memory MBs< number > array
gpu_temperature
optional
GPU temperature< number > array
gpu_usage
optional
Average GPU usage per GPU card< number > array
memory_free
optional
Free memory MBsnumber
memory_used
optional
Used memory MBsnumber
network_rx
optional
Mbytes per secondnumber
network_tx
optional
Mbytes per secondnumber

workers.metric_stats

NameDescriptionSchema
dates
optional
List of timestamps (in seconds from epoch) in the acceding order. The timestamps are separated by the requested interval. Timestamps where no workers activity was recorded are omitted.< integer > array
metric
optional
Name of the metric (cpu_usage, memory_used etc.)string
stats
optional
Statistics data by type< workers.aggregation_stats > array
variant
optional
Name of the metric component. Set only if 'split_by_variant' was set in the requeststring

workers.metrics_category

NameDescriptionSchema
metric_keys
optional
The names of the metrics in the category.< string > array
name
optional
Name of the metrics category.string

workers.queue_entry

NameDescriptionSchema
display_name
optional
Display name for the queue (if defined)string
id
optional
Worker IDstring
name
optional
Worker namestring
next_task
optional
Next task in the queueworkers.id_name_entry
num_tasks
optional
Number of task entries in the queueinteger

workers.stat_item

NameDescriptionSchema
category
optional
workers.aggregation_type
key
optional
Name of a metricstring

workers.worker

NameDescriptionSchema
company
optional
Associated companyworkers.id_name_entry
id
optional
Worker IDstring
ip
optional
IP of the workerstring
key
optional
Worker entry keystring
last_activity_time
optional
Last activity time (even if an error occurred)string (date-time)
last_report_time
optional
Last successful report timestring (date-time)
project
optional
Project in which currently executing task residesworkers.id_name_entry
queue
optional
Queue from which running task was takenworkers.queue_entry
queues
optional
List of queues on which the worker is listening< workers.queue_entry > array
register_time
optional
Registration timestring (date-time)
system_tags
optional
System tags for the worker< string > array
tags
optional
User tags for the worker< string > array
task
optional
Task currently being run by the workerworkers.current_task_entry
user
optional
Associated user (under whose credentials are used by the worker daemon)workers.id_name_entry

workers.worker_stats

NameDescriptionSchema
metrics
optional
List of the metrics statistics for the worker< workers.metric_stats > array
worker
optional
ID of the workerstring