/v2/datasets/{datasetId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
application/json
V2DeleteDatasetVersions2Request
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| datasetVersionIds | array | optional |
An unexpected error response.
A successful response.
DELETE /v2/datasets/{datasetId}/versions
/v2/datasets/{datasetId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/datasets/{datasetId}/versions
/v2/datasets/{datasetId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
application/json
V2PatchDatasetVersions2Request
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| datasetVersions | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ coco | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ clarifaiDataJson | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ clarifaiDataProtobuf | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ sampleMs | integer | optional |
| └ modelPredictConfig | object | optional |
| └ model | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ visibility | object | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ annotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ ignoreEmptyInputs | boolean | optional |
An unexpected error response.
A successful response.
PATCH /v2/datasets/{datasetId}/versions
/v2/datasets/{datasetId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
application/json
V2PostDatasetVersions2Request
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| datasetVersions | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ coco | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ clarifaiDataJson | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ clarifaiDataProtobuf | object | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ includeEmbeddings | boolean | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ sampleMs | integer | optional |
| └ modelPredictConfig | object | optional |
| └ model | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ visibility | object | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ annotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ ignoreEmptyInputs | boolean | optional |
An unexpected error response.
A successful response.
POST /v2/datasets/{datasetId}/versions
/v2/datasets/{datasetId}/versions/{datasetVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
| datasetVersionId | path | required | string | Identify dataset version by id. |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/datasets/{datasetId}/versions/{datasetVersionId}
/v2/datasets/{datasetId}/versions/{datasetVersionId}/exports
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
| datasetVersionId | path | required | string | Identify dataset version by id. |
application/json
V2PutDatasetVersionExports2Request
| Property | Type | Required |
|---|---|---|
| exports | array | optional |
| └ url | string | optional |
| └ size | string | optional |
| └ format | string | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ includeEmbeddings | boolean | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PUT /v2/datasets/{datasetId}/versions/{datasetVersionId}/exports
/v2/datasets/{datasetId}/versions/{datasetVersionId}/metrics
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
| datasetVersionId | path | required | string | Identify dataset version by id. |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
| parentPaths | query | optional | array | Filter by parent path. Multiple parent paths are OR-ed. Empty list results in no filter. |
| types | query | optional | array | Filter by parent type. Multiple types are OR-ed. Empty list results in no filter.
|
An unexpected error response.
A successful response.
GET /v2/datasets/{datasetId}/versions/{datasetVersionId}/metrics
/v2/evaluations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
| sortAscending | query | optional | boolean | If true, sort in ascending order, otherwise sort in descending order. |
| sortByAppId | query | optional | boolean | Whether to order by application id |
| sortByRocAuc | query | optional | boolean | Whether to order by eval metric summary.macro_avg_roc_auc |
| sortByF1 | query | optional | boolean | Whether to order by eval metric summary.f1 |
| sortByCreatedAt | query | optional | boolean | Whether to order by when the metric was created |
| sortByMeanAvgPrecision | query | optional | boolean | Whether to order by eval metric summary.mean_avg_precision_iou_50 |
| sortByPrecision | query | optional | boolean | Whether to order by eval metric summary.macro_avg_precision |
| sortByRecall | query | optional | boolean | Whether to order by eval metric summary.macro_avg_recall |
| sortByModelId | query | optional | boolean | — |
| sortByEvalDatasetId | query | optional | boolean | — |
| sortByTrainDatasetId | query | optional | boolean | — |
| modelTypeId | query | optional | string | Filter on model type id |
| evalDatasetIds | query | optional | array | Filter on dataset ID of the dataset version specified in the metric version |
| trainDatasetIds | query | optional | array | Filter on dataset ID of the dataset version specified by the model version |
| conceptIds | query | optional | array | Filter on concept IDs specified in the modele version’s output_info |
| showFailedMetrics | query | optional | boolean | Whether to show failed metrics, defaults to false |
An unexpected error response.
A successful response.
GET /v2/evaluations
/v2/evaluations
application/json
apiPostEvaluationsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| evalMetrics | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ model | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ data | object | optional |
| └ params | object | optional |
| └ message | string | optional |
| └ fieldsMap | object | optional |
| └ paramsSpecs | array | optional |
| └ outputConfig | object | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ summary | object | optional |
| └ lopqMetrics | array | optional |
| └ k | integer | optional |
| └ lopqNdcg | number | optional |
| └ bruteForceNdcg | number | optional |
| └ recallVsBruteForce | number | optional |
| └ kendallTauVsBruteForce | number | optional |
| └ mostFrequentCodePercent | number | optional |
| └ top1Accuracy | number | optional |
| └ top5Accuracy | number | optional |
| └ macroAvgRecall | number | optional |
| └ macroAvgRocAuc | number | optional |
| └ macroStdRocAuc | number | optional |
| └ macroAvgF1Score | number | optional |
| └ macroStdF1Score | number | optional |
| └ macroAvgPrecision | number | optional |
| └ meanAvgPrecisionIou50 | number | optional |
| └ meanAvgPrecisionIouRange | number | optional |
| └ testSet | array | optional |
| └ input | object | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ status | object | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| └ annotation | object | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ status | object | optional |
| └ taskId | string | optional |
| └ userId | string | optional |
| └ inputId | string | optional |
| └ trusted | boolean | optional |
| └ createdAt | string | optional |
| └ inputLevel | boolean | optional |
| └ modifiedAt | string | optional |
| └ consensusInfo | object | optional |
| └ annotationInfo | object | optional |
| └ modelVersionId | string | optional |
| └ workflowVersionId | string | optional |
| └ embedModelVersionId | string | optional |
| └ predictedConcepts | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ groundTruthConcepts | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ evalInfo | object | optional |
| └ params | object | optional |
| └ labelCounts | object | optional |
| └ positiveLabelCounts | array | optional |
| └ count | integer | optional |
| └ concept | object | optional |
| └ conceptName | string | optional |
| └ binaryMetrics | array | optional |
| └ f1 | number | optional |
| └ iou | number | optional |
| └ numNeg | integer | optional |
| └ numPos | integer | optional |
| └ numTot | integer | optional |
| └ rocAuc | number | optional |
| └ areaMax | number | optional |
| └ areaMin | number | optional |
| └ concept | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ areaName | string | optional |
| └ rocCurve | object | optional |
| └ fpr | array | optional |
| └ tpr | array | optional |
| └ thresholds | array | optional |
| └ fprPerImage | array | optional |
| └ fprPerObject | array | optional |
| └ avgPrecision | number | optional |
| └ precisionRecallCurve | object | optional |
| └ recall | array | optional |
| └ precision | array | optional |
| └ thresholds | array | optional |
| └ metricsByArea | array | optional |
| └ f1 | number | optional |
| └ iou | number | optional |
| └ numNeg | integer | optional |
| └ numPos | integer | optional |
| └ numTot | integer | optional |
| └ rocAuc | number | optional |
| └ areaMax | number | optional |
| └ areaMin | number | optional |
| └ concept | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ areaName | string | optional |
| └ rocCurve | object | optional |
| └ fpr | array | optional |
| └ tpr | array | optional |
| └ thresholds | array | optional |
| └ fprPerImage | array | optional |
| └ fprPerObject | array | optional |
| └ avgPrecision | number | optional |
| └ precisionRecallCurve | object | optional |
| └ recall | array | optional |
| └ precision | array | optional |
| └ thresholds | array | optional |
| └ metricsByClass | array | optional |
| └ f1 | number | optional |
| └ iou | number | optional |
| └ numNeg | integer | optional |
| └ numPos | integer | optional |
| └ numTot | integer | optional |
| └ rocAuc | number | optional |
| └ areaMax | number | optional |
| └ areaMin | number | optional |
| └ concept | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ areaName | string | optional |
| └ rocCurve | object | optional |
| └ fpr | array | optional |
| └ tpr | array | optional |
| └ thresholds | array | optional |
| └ fprPerImage | array | optional |
| └ fprPerObject | array | optional |
| └ avgPrecision | number | optional |
| └ precisionRecallCurve | object | optional |
| └ recall | array | optional |
| └ precision | array | optional |
| └ thresholds | array | optional |
| └ trackerMetrics | array | optional |
| └ aiid | string | optional |
| └ motMota | number | optional |
| └ morseFrag | number | optional |
| └ avgPrecision | number | optional |
| └ motNumSwitches | integer | optional |
| └ uniqueSwitchRate | number | optional |
| └ confusionMatrix | object | optional |
| └ matrix | array | optional |
| └ value | number | optional |
| └ actual | string | optional |
| └ predicted | string | optional |
| └ actualConcept | object | optional |
| └ predictedConcept | object | optional |
| └ conceptIds | array | optional |
| └ extendedMetrics | object | optional |
| └ userMetrics | object | optional |
| └ cooccurrenceMatrix | object | optional |
| └ matrix | array | optional |
| └ col | string | optional |
| └ row | string | optional |
| └ count | integer | optional |
| └ conceptIds | array | optional |
| └ groundTruthDataset | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ version | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ status | object | optional |
| └ userId | string | optional |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ modelPredictConfig | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ bookmarkOrigin | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| └ resourceType | string | optional |
| └ defaultProcessingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ defaultAnnotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ predictionsDataset | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ version | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ status | object | optional |
| └ userId | string | optional |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ modelPredictConfig | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ bookmarkOrigin | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| └ resourceType | string | optional |
| └ defaultProcessingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ defaultAnnotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
An unexpected error response.
A successful response.
POST /v2/evaluations
/v2/evaluations/{evaluationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| evaluationId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| fields.confusionMatrix | query | optional | boolean | — |
| fields.cooccurrenceMatrix | query | optional | boolean | — |
| fields.labelCounts | query | optional | boolean | — |
| fields.binaryMetrics | query | optional | boolean | — |
| fields.testSet | query | optional | boolean | — |
| fields.metricsByArea | query | optional | boolean | — |
| fields.metricsByClass | query | optional | boolean | — |
An unexpected error response.
A successful response.
GET /v2/evaluations/{evaluationId}
/v2/inputs
Request to delete several things by the list of ids.
application/json
apiDeleteInputsRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/inputs
/v2/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
| status.code | query | optional | string | Status code from internal codes.
expired cc, still in trial, feature not supported in your tier
Custom model has been already trained.
TODO: Knowledge graph related 80xxx
|
| status.description | query | optional | string | A short description of the error. |
| status.details | query | optional | string | More details of the given error. |
| status.stackTrace | query | optional | array | For some environment we may return a stack trace to help debug |
| status.percentCompleted | query | optional | integer | specifically for long running jobs |
| status.timeRemaining | query | optional | integer | if status is pending, how much time is remaining (in seconds) |
| status.reqId | query | optional | string | A request ID may be present, to help monitoring and tracking requests |
| status.internalDetails | query | optional | string | Internal Annotation (do not set in production, for internal Clarifai use only). |
| status.redirectInfo.url | query | optional | string | New location for the resource. Used to set response Location header. |
| status.redirectInfo.resourceType | query | optional | string | Resource type |
| status.redirectInfo.oldResourceId | query | optional | string | Old resource id |
| status.redirectInfo.newResourceId | query | optional | string | New resource id |
| status.developerNotes | query | optional | string | Notes for developer. |
| ids | query | optional | array | — |
An unexpected error response.
A successful response.
GET /v2/inputs
/v2/inputs
application/json
apiPatchInputsRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| inputs | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ geoBox | array | optional |
| └ geoLimit | object | optional |
| └ geoPoint | object | optional |
| └ hits | array | optional |
| └ appId | string | optional |
| └ input | object | optional |
| └ score | number | optional |
| └ userId | string | optional |
| └ annotation | object | optional |
| └ text | object | optional |
| └ raw | string | optional |
| └ url | string | optional |
| └ hosted | object | optional |
| └ textInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ audio | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ audioInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ video | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ videoInfo | object | optional |
| └ thumbnailUrl | string | optional |
| └ hostedThumbnail | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ colors | array | optional |
| └ w3c | object | optional |
| └ value | number | optional |
| └ rawHex | string | optional |
| └ frames | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ frameInfo | object | optional |
| └ tracks | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ quality | number | optional |
| └ timeInfo | object | optional |
| └ regions | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ value | number | optional |
| └ trackId | string | optional |
| └ regionInfo | object | optional |
| └ clusters | array | optional |
| └ id | string | optional |
| └ hits | array | optional |
| └ count | integer | optional |
| └ score | number | optional |
| └ projection | array | optional |
| └ concepts | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ heatmaps | array | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ vector | array | optional |
| └ numDimensions | integer | optional |
| └ timeSegments | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ timeInfo | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/inputs
/v2/inputs
application/json
apiPostInputsRequest
| Property | Type | Required |
|---|---|---|
| inputs | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ geoBox | array | optional |
| └ geoLimit | object | optional |
| └ geoPoint | object | optional |
| └ hits | array | optional |
| └ appId | string | optional |
| └ input | object | optional |
| └ score | number | optional |
| └ userId | string | optional |
| └ annotation | object | optional |
| └ text | object | optional |
| └ raw | string | optional |
| └ url | string | optional |
| └ hosted | object | optional |
| └ textInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ audio | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ audioInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ video | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ videoInfo | object | optional |
| └ thumbnailUrl | string | optional |
| └ hostedThumbnail | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ colors | array | optional |
| └ w3c | object | optional |
| └ value | number | optional |
| └ rawHex | string | optional |
| └ frames | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ frameInfo | object | optional |
| └ tracks | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ quality | number | optional |
| └ timeInfo | object | optional |
| └ regions | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ value | number | optional |
| └ trackId | string | optional |
| └ regionInfo | object | optional |
| └ clusters | array | optional |
| └ id | string | optional |
| └ hits | array | optional |
| └ count | integer | optional |
| └ score | number | optional |
| └ projection | array | optional |
| └ concepts | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ appId | string | optional |
| └ value | number | optional |
| └ userId | string | optional |
| └ vocabId | string | optional |
| └ language | string | optional |
| └ createdAt | string | optional |
| └ extraInfo | object | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ keypointInfo | object | optional |
| └ heatmaps | array | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ imageInfo | object | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ vector | array | optional |
| └ numDimensions | integer | optional |
| └ timeSegments | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ timeInfo | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| inputsAddJobId | string | optional |
| inputIdConflictResolution | string | optional |
An unexpected error response.
A successful response.
POST /v2/inputs
/v2/inputs/annotations
Request to delete several things by the list of ids.
application/json
apiDeleteAnnotationsRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| inputIds | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/inputs/annotations
/v2/inputs/data_sources
The cloud URL will be treated as a filter prefix. For example s3:/bucket/images_folder/abc will process
files in the images_folder beginning with abc or in a subfolder beginning with abc.
For example:
bucket/images_folder/abcImage.png
bucket/images_folder/abc-1/Data.zip
If given URL is for a private bucket or file, then credentials should be provided to access the bucket.
Credentials should include rights to list the objects in the bucket, except when pointed directly at a file archive,
in which case it only requires rights to access that particular file.
Initiates retrieval of inputs from cloud storage from a user provided data source.
Will create and return an inputs-add-job for tracking progress.
Archives will be extracted and their contents will be processed as inputs.
The cloud URL will be treated as a filter prefix. For example s3:/bucket/images_folder/abc will process
files in the images_folder beginning with abc or in a subfolder beginning with abc.
For example:
bucket/images_folder/abcImage.png
bucket/images_folder/abc-1/Data.zip
If given URL is for a private bucket or file, then credentials should be provided to access the bucket.
Credentials should include rights to list the objects in the bucket, except when pointed directly at a file archive,
in which case it only requires rights to access that particular file.
application/json
apiPostInputsDataSourcesRequest
| Property | Type | Required |
|---|---|---|
| appPat | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| callBackUrl | string | optional |
| dataSources | array | optional |
| └ url | object | optional |
| └ url | string | optional |
| └ credentials | object | optional |
| └ s3Creds | object | optional |
| └ gcpCreds | string | optional |
| └ azureBlobCreds | object | optional |
| └ inputTemplate | object | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ hits | array | optional |
| └ text | object | optional |
| └ audio | object | optional |
| └ image | object | optional |
| └ video | object | optional |
| └ colors | array | optional |
| └ frames | array | optional |
| └ tracks | array | optional |
| └ regions | array | optional |
| └ clusters | array | optional |
| └ concepts | array | optional |
| └ heatmaps | array | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ timeSegments | array | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| └ inputsAddJobId | string | optional |
| └ inputIdConflictResolution | string | optional |
An unexpected error response.
A successful response.
POST /v2/inputs/data_sources
/v2/inputs/jobs/add
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/inputs/jobs/add
/v2/inputs/jobs/add/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | id of add inputs job |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/jobs/add/{id}
/v2/inputs/jobs/add/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | id of add inputs job to be cancelled |
application/json
V2CancelInputsAddJob2Request
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/inputs/jobs/add/{id}
/v2/inputs/jobs/extraction
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/inputs/jobs/extraction
/v2/inputs/jobs/extraction
application/json
apiCancelInputsExtractionJobsRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/inputs/jobs/extraction
/v2/inputs/jobs/extraction/{inputsExtractionJobId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputsExtractionJobId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/jobs/extraction/{inputsExtractionJobId}
/v2/inputs/searches
application/json
apiPatchInputsSearchesRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| searches | array | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ ands | array | optional |
| └ input | object | optional |
| └ negate | boolean | optional |
| └ output | object | optional |
| └ annotation | object | optional |
| └ ranks | array | optional |
| └ negate | boolean | optional |
| └ annotation | object | optional |
| └ filters | array | optional |
| └ input | object | optional |
| └ negate | boolean | optional |
| └ annotation | object | optional |
| └ lastUpdatedTimeRange | object | optional |
| └ language | string | optional |
| └ metric | string | optional |
| └ gitHash | string | optional |
| └ minValue | number | optional |
| └ algorithm | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ applicationId | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/inputs/searches
/v2/inputs/searches
application/json
apiPostInputsSearchesRequest
| Property | Type | Required |
|---|---|---|
| searches | array | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ ands | array | optional |
| └ input | object | optional |
| └ negate | boolean | optional |
| └ output | object | optional |
| └ annotation | object | optional |
| └ ranks | array | optional |
| └ negate | boolean | optional |
| └ annotation | object | optional |
| └ filters | array | optional |
| └ input | object | optional |
| └ negate | boolean | optional |
| └ annotation | object | optional |
| └ lastUpdatedTimeRange | object | optional |
| └ language | string | optional |
| └ metric | string | optional |
| └ gitHash | string | optional |
| └ minValue | number | optional |
| └ algorithm | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ applicationId | string | optional |
| onlyCount | boolean | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| pagination | object | optional |
| └ page | integer | optional |
| └ perPage | integer | optional |
An unexpected error response.
A successful response.
POST /v2/inputs/searches
/v2/inputs/status
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/status
/v2/inputs/stream
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
| lastId | query | optional | string | — |
| orderById | query | optional | boolean | By default, the endpoint return inputs by the time when it is added. |
| descending | query | optional | boolean | — |
An unexpected error response.
A successful response.
GET /v2/inputs/stream
/v2/inputs/uploads
Associated inputs-add-job contains an upload id which should be completed through PutUploadContentParts endpoint.
Completing the upload will automatically begin unpacking the archive and uploading the contents as inputs.
Start uploading a file archive containing inputs.
Will create and return an inputs-add-job for tracking progress.
Associated inputs-add-job contains an upload id which should be completed through PutUploadContentParts endpoint.
Completing the upload will automatically begin unpacking the archive and uploading the contents as inputs.
application/json
apiPostInputsUploadsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| inputsUploads | array | optional |
| └ appPat | string | optional |
| └ upload | object | optional |
| └ id | string | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ expiresAt | string | optional |
| └ contentUrl | string | optional |
| └ modifiedAt | string | optional |
| └ contentName | string | optional |
| └ contentLength | string | optional |
| └ inputTemplate | object | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ hits | array | optional |
| └ text | object | optional |
| └ audio | object | optional |
| └ image | object | optional |
| └ video | object | optional |
| └ colors | array | optional |
| └ frames | array | optional |
| └ tracks | array | optional |
| └ regions | array | optional |
| └ clusters | array | optional |
| └ concepts | array | optional |
| └ heatmaps | array | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ timeSegments | array | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| └ inputsAddJobId | string | optional |
| └ inputIdConflictResolution | string | optional |
An unexpected error response.
A successful response.
POST /v2/inputs/uploads
/v2/inputs/{inputId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
DELETE /v2/inputs/{inputId}
/v2/inputs/{inputId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/{inputId}
/v2/inputs/{inputId}/annotations/{annotationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputId | path | required | string | — |
| annotationId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
DELETE /v2/inputs/{inputId}/annotations/{annotationId}
/v2/inputs/{inputId}/annotations/{annotationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputId | path | required | string | — |
| annotationId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/{inputId}/annotations/{annotationId}
/v2/inputs/{inputId}/video_manifest
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inputId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/inputs/{inputId}/video_manifest
/v2/label_orders
Request to delete a list of label orders.
application/json
apiDeleteLabelOrdersRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/label_orders
/v2/label_orders
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/label_orders
/v2/label_orders
Request to patch a list of label orders.
application/json
apiPatchLabelOrdersRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| labelOrders | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ appId | string | optional |
| └ review | object | optional |
| └ users | array | optional |
| └ userIds | array | optional |
| └ strategy | string | optional |
| └ manualStrategyInfo | object | optional |
| └ consensusStrategyInfo | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ worker | object | optional |
| └ users | array | optional |
| └ userIds | array | optional |
| └ workers | array | optional |
| └ strategy | string | optional |
| └ partitionedStrategyInfo | object | optional |
| └ metrics | object | optional |
| └ work | object | optional |
| └ concepts | array | optional |
| └ concept | object | optional |
| └ autoAnnotationConfig | object | optional |
| └ sampleMs | integer | optional |
| └ createdAt | string | optional |
| └ conceptIds | array | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ aiAssistant | object | optional |
| └ workflowId | string | optional |
| └ description | string | optional |
| └ inputSource | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ labelOrderId | string | optional |
| └ aiAssistParams | object | optional |
| └ maxThreshold | number | optional |
| └ minThreshold | number | optional |
| └ conceptRelationIds | array | optional |
| └ …1 more | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ autoRelease | boolean | optional |
| └ allowEmptyTag | boolean | optional |
| └ desiredFulfillTime | string | optional |
| └ estimateFulfillTime | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/label_orders
/v2/label_orders
Request to create label orders.
application/json
apiPostLabelOrdersRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| labelOrders | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ appId | string | optional |
| └ review | object | optional |
| └ users | array | optional |
| └ userIds | array | optional |
| └ strategy | string | optional |
| └ manualStrategyInfo | object | optional |
| └ consensusStrategyInfo | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ worker | object | optional |
| └ users | array | optional |
| └ userIds | array | optional |
| └ workers | array | optional |
| └ strategy | string | optional |
| └ partitionedStrategyInfo | object | optional |
| └ metrics | object | optional |
| └ work | object | optional |
| └ concepts | array | optional |
| └ concept | object | optional |
| └ autoAnnotationConfig | object | optional |
| └ sampleMs | integer | optional |
| └ createdAt | string | optional |
| └ conceptIds | array | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ aiAssistant | object | optional |
| └ workflowId | string | optional |
| └ description | string | optional |
| └ inputSource | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ labelOrderId | string | optional |
| └ aiAssistParams | object | optional |
| └ maxThreshold | number | optional |
| └ minThreshold | number | optional |
| └ conceptRelationIds | array | optional |
| └ …1 more | object | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ url | string | optional |
| └ resourceType | string | optional |
| └ newResourceId | string | optional |
| └ oldResourceId | string | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ autoRelease | boolean | optional |
| └ allowEmptyTag | boolean | optional |
| └ desiredFulfillTime | string | optional |
| └ estimateFulfillTime | string | optional |
An unexpected error response.
A successful response.
POST /v2/label_orders
/v2/label_orders/{labelOrderId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| labelOrderId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/label_orders/{labelOrderId}
/v2/models
Request to delete several things by the list of ids.
application/json
apiDeleteModelsRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| deleteAll | boolean | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/models
/v2/models
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response. Currently supported: all, stars, outputs, presets |
| sortAscending | query | optional | boolean | Sorting options: |
| sortByName | query | optional | boolean | Whether to order by the name |
| sortByNumInputs | query | optional | boolean | Whether to order by the number of training inputs |
| sortByModifiedAt | query | optional | boolean | Whether to order by the modified_at time of the latest model version. |
| sortByCreatedAt | query | optional | boolean | Whether to order by the created_at |
| sortByStarCount | query | optional | boolean | Whether to order by count of stars |
| modelTypeId | query | optional | string | Filtering options: |
| trainedOnly | query | optional | boolean | If true, we only return models that have the status MODEL_TRAINED, which includes non-trainable model types. |
| inputFields | query | optional | array | The list of input fields to the model. |
| outputFields | query | optional | array | The list of output fields to the model. |
| license | query | optional | string | Filter by the license of the model version |
| featuredOnly | query | optional | boolean | If true, we only return models that are handpicked by clarifai staff |
| starredOnly | query | optional | boolean | If true, we only return models that are starred by the requesting user |
| toolkits | query | optional | array | List of toolkit tags to filter by |
| useCases | query | optional | array | List of use_case tags to filter by |
| languages | query | optional | array | List of language tags to filter by |
| dontFetchFromMain | query | optional | boolean | Old API behavior resulted in returning clarifai main models when calling ListModels while scoped to an app. While we transition |
| bookmark | query | optional | boolean | Filter models by bookmark. If set, only return bookmarked models. Otherwise none bookmarked models only. |
| search | query | optional | string | Searching options:
Keywords are both normalized for search (so searching for “satisfy” matches “satisfied”) NOTE: Both the list of fields searched and the exact keyword matching |
| query | query | optional | string | Query name, description and id fields, that can contain the words in the query string. Does NOT support wildcards - full words only. Supports operators “OR” and “-“ as NOT. |
| name | query | optional | string | Filter by the description and id of the model. This supports wildcard queries like “gen*” to match “general” as an example. |
| filterByUserId | query | optional | boolean | Extends the name filter to include the user_id of the application owner that the model belongs to. |
An unexpected error response.
A successful response.
GET /v2/models
/v2/models
application/json
apiPatchModelsRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| models | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ imageInfo | object | optional |
| └ width | integer | optional |
| └ format | string | optional |
| └ height | integer | optional |
| └ colorMode | string | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ hits | array | optional |
| └ text | object | optional |
| └ audio | object | optional |
| └ image | object | optional |
| └ video | object | optional |
| └ colors | array | optional |
| └ frames | array | optional |
| └ tracks | array | optional |
| └ regions | array | optional |
| └ clusters | array | optional |
| └ concepts | array | optional |
| └ heatmaps | array | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ timeSegments | array | optional |
| └ params | object | optional |
| └ message | string | optional |
| └ fieldsMap | object | optional |
| └ paramsSpecs | array | optional |
| └ path | string | optional |
| └ required | boolean | optional |
| └ fieldType | string | optional |
| └ description | string | optional |
| └ placeholder | string | optional |
| └ defaultValue | object | optional |
| └ internalOnly | boolean | optional |
| └ modelTypeRangeInfo | object | optional |
| └ modelTypeEnumOptions | array | optional |
| └ outputConfig | object | optional |
| └ language | string | optional |
| └ minValue | number | optional |
| └ sampleMs | integer | optional |
| └ hyperParams | object | optional |
| └ maxConcepts | integer | optional |
| └ modelMetadata | object | optional |
| └ selectConcepts | array | optional |
| └ existingModelId | string | optional |
| └ hyperParameters | string | optional |
| └ trainingTimeout | integer | optional |
| └ embedModelVersionId | string | optional |
| └ conceptsMutuallyExclusive | boolean | optional |
| └ failOnMissingPositiveExamples | boolean | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/models
/v2/models
application/json
apiPostModelsRequest
| Property | Type | Required |
|---|---|---|
| model | object | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ imageInfo | object | optional |
| └ width | integer | optional |
| └ format | string | optional |
| └ height | integer | optional |
| └ colorMode | string | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ hits | array | optional |
| └ text | object | optional |
| └ audio | object | optional |
| └ image | object | optional |
| └ video | object | optional |
| └ colors | array | optional |
| └ frames | array | optional |
| └ tracks | array | optional |
| └ regions | array | optional |
| └ clusters | array | optional |
| └ concepts | array | optional |
| └ heatmaps | array | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ timeSegments | array | optional |
| └ params | object | optional |
| └ message | string | optional |
| └ fieldsMap | object | optional |
| └ paramsSpecs | array | optional |
| └ path | string | optional |
| └ required | boolean | optional |
| └ fieldType | string | optional |
| └ description | string | optional |
| └ placeholder | string | optional |
| └ defaultValue | object | optional |
| └ internalOnly | boolean | optional |
| └ modelTypeRangeInfo | object | optional |
| └ modelTypeEnumOptions | array | optional |
| └ outputConfig | object | optional |
| └ language | string | optional |
| └ minValue | number | optional |
| └ sampleMs | integer | optional |
| └ hyperParams | object | optional |
| └ maxConcepts | integer | optional |
| └ modelMetadata | object | optional |
| └ selectConcepts | array | optional |
| └ existingModelId | string | optional |
| └ hyperParameters | string | optional |
| └ trainingTimeout | integer | optional |
| └ embedModelVersionId | string | optional |
| └ conceptsMutuallyExclusive | boolean | optional |
| └ failOnMissingPositiveExamples | boolean | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| models | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ task | string | optional |
| └ appId | string | optional |
| └ image | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ imageInfo | object | optional |
| └ width | integer | optional |
| └ format | string | optional |
| └ height | integer | optional |
| └ colorMode | string | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ notes | string | optional |
| └ userId | string | optional |
| └ presets | object | optional |
| └ metadata | object | optional |
| └ toolkits | array | optional |
| └ useCases | array | optional |
| └ createdAt | string | optional |
| └ isStarred | boolean | optional |
| └ languages | array | optional |
| └ starCount | integer | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ data | object | optional |
| └ geo | object | optional |
| └ hits | array | optional |
| └ text | object | optional |
| └ audio | object | optional |
| └ image | object | optional |
| └ video | object | optional |
| └ colors | array | optional |
| └ frames | array | optional |
| └ tracks | array | optional |
| └ regions | array | optional |
| └ clusters | array | optional |
| └ concepts | array | optional |
| └ heatmaps | array | optional |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ timeSegments | array | optional |
| └ params | object | optional |
| └ message | string | optional |
| └ fieldsMap | object | optional |
| └ paramsSpecs | array | optional |
| └ path | string | optional |
| └ required | boolean | optional |
| └ fieldType | string | optional |
| └ description | string | optional |
| └ placeholder | string | optional |
| └ defaultValue | object | optional |
| └ internalOnly | boolean | optional |
| └ modelTypeRangeInfo | object | optional |
| └ modelTypeEnumOptions | array | optional |
| └ outputConfig | object | optional |
| └ language | string | optional |
| └ minValue | number | optional |
| └ sampleMs | integer | optional |
| └ hyperParams | object | optional |
| └ maxConcepts | integer | optional |
| └ modelMetadata | object | optional |
| └ selectConcepts | array | optional |
| └ existingModelId | string | optional |
| └ hyperParameters | string | optional |
| └ trainingTimeout | integer | optional |
| └ embedModelVersionId | string | optional |
| └ conceptsMutuallyExclusive | boolean | optional |
| └ failOnMissingPositiveExamples | boolean | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ displayName | string | optional |
| └ …7 more | object | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
POST /v2/models
/v2/models/searches
Search over the available models.
application/json
apiPostModelsSearchesRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| modelQuery | object | optional |
| └ name | string | optional |
| └ modelTypeId | string | optional |
| pagination | object | optional |
| └ page | integer | optional |
| └ perPage | integer | optional |
An unexpected error response.
A successful response.
POST /v2/models/searches
/v2/models/types
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/models/types
/v2/models/types/{modelTypeId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelTypeId | path | required | string | The specific ModelType.Id you want to retrieve. |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/models/types/{modelTypeId}
/v2/models/versions/upload
(streaming inputs)
application/json
apiPostModelVersionsUploadRequest
| Property | Type | Required |
|---|---|---|
| contentPart | object | optional |
| └ data | string | optional |
| └ partNumber | string | optional |
| └ rangeStart | string | optional |
| uploadConfig | object | optional |
| └ modelId | string | optional |
| └ totalSize | string | optional |
| └ userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| └ modelVersion | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ status | object | optional |
| └ code | string | optional |
| └ reqId | string | optional |
| └ details | string | optional |
| └ stackTrace | array | optional |
| └ description | string | optional |
| └ redirectInfo | object | optional |
| └ timeRemaining | integer | optional |
| └ developerNotes | string | optional |
| └ internalDetails | string | optional |
| └ percentCompleted | integer | optional |
| └ userId | string | optional |
| └ license | string | optional |
| └ metrics | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ model | object | optional |
| └ status | object | optional |
| └ userId | string | optional |
| └ summary | object | optional |
| └ testSet | array | optional |
| └ evalInfo | object | optional |
| └ labelCounts | object | optional |
| └ binaryMetrics | array | optional |
| └ metricsByArea | array | optional |
| └ metricsByClass | array | optional |
| └ trackerMetrics | array | optional |
| └ confusionMatrix | object | optional |
| └ extendedMetrics | object | optional |
| └ cooccurrenceMatrix | object | optional |
| └ groundTruthDataset | object | optional |
| └ predictionsDataset | object | optional |
| └ metadata | object | optional |
| └ trainLog | string | optional |
| └ buildInfo | object | optional |
| └ dockerImageTag | string | optional |
| └ dockerImageName | string | optional |
| └ dockerImageDigest | string | optional |
| └ createdAt | string | optional |
| └ inputInfo | object | optional |
| └ params | object | optional |
| └ fieldsMap | object | optional |
| └ baseEmbedModel | object | optional |
| └ trainInfo | object | optional |
| └ params | object | optional |
| └ dataset | object | optional |
| └ resumeFromModel | object | optional |
| └ importInfo | object | optional |
| └ params | object | optional |
| └ modifiedAt | string | optional |
| └ outputInfo | object | optional |
| └ data | object | optional |
| └ params | object | optional |
| └ message | string | optional |
| └ fieldsMap | object | optional |
| └ paramsSpecs | array | optional |
| └ outputConfig | object | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ completedAt | string | optional |
| └ description | string | optional |
| └ totalInputCount | integer | optional |
| └ activeConceptCount | integer | optional |
| └ …2 more | object | optional |
An unexpected error response.
A successful response.(streaming responses)
POST /v2/models/versions/upload
/v2/models/{modelId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
DELETE /v2/models/{modelId}
/v2/models/{modelId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| versionId | query | optional | string | This is included so that we can re-use this request for multiple |
| language | query | optional | string | — |
| trainedBefore | query | optional | boolean | — |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response. Currently supported: all, stars, outputs, presets |
An unexpected error response.
A successful response.
GET /v2/models/{modelId}
/v2/models/{modelId}/check_consents
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | the model id |
application/json
V2PatchModelCheckConsents2Request
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| checkConsents | array | optional |
An unexpected error response.
A successful response.
PATCH /v2/models/{modelId}/check_consents
/v2/models/{modelId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| userAppId.userId | query | optional | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | query | optional | string | — |
| versionId | query | optional | string | — |
| page | query | optional | integer | (optional URL parameter) The page number. Pagination is used to split the results into chunks. |
| perPage | query | optional | integer | (optional URL parameter) The number of results that will be contained in each page. Defaults |
An unexpected error response.
A successful response.
GET /v2/models/{modelId}/inputs
/v2/models/{modelId}/languages
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
application/json
V2PatchModelLanguages2Request
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| languages | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/models/{modelId}/languages