Query structured spec data via REST or MCP. Get exactly what your agent needs.
api.clarifia.com
/v2/annotation_filters
Request to delete several annotation filters by list of ids.
application/json
apiDeleteAnnotationFiltersRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| annotationFilterIds | array | optional |
An unexpected error response.
A successful response.
DELETE /v2/annotation_filters
/v2/annotation_filters
| 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/annotation_filters
/v2/annotation_filters
Request to patch several annotation filters.
application/json
apiPatchAnnotationFiltersRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| annotationFilters | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ ands | array | optional |
| └ ranks | array | optional |
| └ filters | array | 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 |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/annotation_filters
/v2/annotation_filters
Request to add one or more annotation filters.
application/json
apiPostAnnotationFiltersRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| annotationFilters | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ ands | array | optional |
| └ ranks | array | optional |
| └ filters | array | 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 |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
An unexpected error response.
A successful response.
POST /v2/annotation_filters
/v2/annotation_filters/{annotationFilterId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| annotationFilterId | path | required | string | Identify annotation filter 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/annotation_filters/{annotationFilterId}
/v2/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/annotations
/v2/annotations
| 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 | — |
| ids | query | optional | array | List annotations for these IDs |
| inputIds | query | optional | array | List annotations for these Input IDs |
| userIds | query | optional | array | Only return the annotations that has one of these user IDs, effectively operating as an |
| modelVersionIds | query | optional | array | Only return the annotations that has one of these model version IDs, effectively operating as an |
| listAllAnnotations | query | optional | boolean | Set this flag to list both trusted and not trusted annotations |
| returnModelOutput | query | optional | boolean | Set this flag to return the model output for model annotations in the response. |
| 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 |
| taskId | query | optional | string | Flag to filter annotations by task_id |
An unexpected error response.
A successful response.
GET /v2/annotations
/v2/annotations
application/json
apiPatchAnnotationsRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| annotations | 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 |
| └ 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 |
| deleteIfEmptyData | boolean | optional |
An unexpected error response.
A successful response.
PATCH /v2/annotations
/v2/annotations
application/json
apiPostAnnotationsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| annotations | 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 |
| └ 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 |
An unexpected error response.
A successful response.
POST /v2/annotations
/v2/annotations/searches
application/json
apiPatchAnnotationsSearchesRequest
| 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/annotations/searches
/v2/annotations/searches
application/json
apiPostAnnotationsSearchesRequest
| 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 |
| 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/annotations/searches
/v2/annotations/searches/metrics
| 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/annotations/searches/metrics
/v2/annotations/searches/metrics
application/json
apiPostAnnotationSearchMetricsRequest
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| data | object | optional |
| └ geo | object | optional |
| └ geoBox | array | optional |
| └ geoPoint | object | optional |
| └ geoLimit | object | optional |
| └ type | string | optional |
| └ value | number | optional |
| └ geoPoint | object | optional |
| └ latitude | number | optional |
| └ longitude | number | optional |
| └ hits | array | optional |
| └ appId | string | optional |
| └ input | object | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ status | object | optional |
| └ createdAt | string | optional |
| └ datasetIds | array | optional |
| └ modifiedAt | string | optional |
| └ score | number | optional |
| └ userId | 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 |
| └ text | object | optional |
| └ raw | string | optional |
| └ url | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ textInfo | object | optional |
| └ encoding | string | optional |
| └ charCount | integer | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ audio | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ audioInfo | object | optional |
| └ bitRate | integer | optional |
| └ sampleRate | integer | optional |
| └ audioFormat | string | optional |
| └ durationSeconds | number | optional |
| └ allowDuplicateUrl | boolean | 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 |
| └ video | object | optional |
| └ url | string | optional |
| └ base64 | string | optional |
| └ hosted | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ videoInfo | object | optional |
| └ fps | number | optional |
| └ width | integer | optional |
| └ height | integer | optional |
| └ bitRate | integer | optional |
| └ frameCount | integer | optional |
| └ videoFormat | string | optional |
| └ durationSeconds | number | optional |
| └ thumbnailUrl | string | optional |
| └ hostedThumbnail | object | optional |
| └ sizes | array | optional |
| └ prefix | string | optional |
| └ suffix | string | optional |
| └ crossorigin | string | optional |
| └ allowDuplicateUrl | boolean | optional |
| └ colors | array | optional |
| └ w3c | object | optional |
| └ hex | string | optional |
| └ name | string | optional |
| └ value | number | optional |
| └ rawHex | string | optional |
| └ frames | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ frameInfo | object | optional |
| └ time | integer | optional |
| └ index | integer | optional |
| └ tracks | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ quality | number | optional |
| └ timeInfo | object | optional |
| └ endTime | number | optional |
| └ beginTime | number | optional |
| └ numFrames | integer | optional |
| └ regions | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ value | number | optional |
| └ trackId | string | optional |
| └ regionInfo | object | optional |
| └ mask | object | optional |
| └ span | object | optional |
| └ point | object | optional |
| └ token | object | optional |
| └ polygon | object | optional |
| └ boundingBox | object | optional |
| └ keypointLocations | array | optional |
| └ clusters | array | optional |
| └ id | string | optional |
| └ hits | array | optional |
| └ appId | string | optional |
| └ input | object | optional |
| └ score | number | optional |
| └ userId | string | optional |
| └ annotation | object | 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 |
| └ isRankable | boolean | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ keypointInfo | object | optional |
| └ skeleton | array | optional |
| └ keypointNames | array | optional |
| └ heatmaps | array | 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 |
| └ metadata | object | optional |
| └ embeddings | array | optional |
| └ vector | array | optional |
| └ numDimensions | integer | optional |
| └ timeSegments | array | optional |
| └ id | string | optional |
| └ data | object | optional |
| └ timeInfo | object | optional |
| └ endTime | number | optional |
| └ beginTime | number | optional |
| └ numFrames | integer | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| groundTruth | object | 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 |
| searchToEval | object | 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 |
| evaluationType | string | optional |
An unexpected error response.
A successful response.
POST /v2/annotations/searches/metrics
/v2/annotations/searches/metrics/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | 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/annotations/searches/metrics/{id}
/v2/annotations/searches/metrics/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | Unique custom facing id that identifies the eval to get |
| 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/annotations/searches/metrics/{id}
/v2/annotations/workers
| 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. |
| trustedOnly | query | optional | boolean | (optional URL parameter) Only list workers that have created trusted annotations. |
An unexpected error response.
A successful response.
GET /v2/annotations/workers
/v2/app
| 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 | — |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response. Currently supported: all, stars |
An unexpected error response.
A successful response.
GET /v2/app
/v2/apps
| 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 |
| sortAscending | query | optional | boolean | Sorting options: |
| sortByName | query | optional | boolean | Whether to order by the name |
| sortByModifiedAt | query | optional | boolean | Whether to order by the modified_at time. |
| sortByCreatedAt | query | optional | boolean | Whether to order by the created_at time. |
| sortByStarCount | query | optional | boolean | Whether to order by the number of users stared the app |
| featuredOnly | query | optional | boolean | Filtering options: |
| starredOnly | query | optional | boolean | If true, we only return apps that are starred by the requesting user |
| templateOnly | query | optional | boolean | If true, we only return apps that are marked as a template by the app owner. |
| 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 various text fields (id, name, description, and notes) that can contain the words in the query string |
| name | query | optional | string | Filter by the id, name and notes of the app. This supports wilcard queries like “gen*” to match “general” as an example. |
| id | query | optional | string | Filter by the user-unique-id of the app. This supports wilcard queries like “gen*” to match “general” as an example. |
An unexpected error response.
A successful response.
GET /v2/apps
/v2/bulk_operations
Request to delete the terminated bulk operations by ID
Only operations in terminated state can be deleted.
application/json
apiDeleteBulkOperationRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/bulk_operations
/v2/bulk_operations
| 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/bulk_operations
/v2/bulk_operations
application/json
apiCancelBulkOperationRequest
| Property | Type | Required |
|---|---|---|
| ids | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/bulk_operations
/v2/bulk_operations
Request to perform bulk operations on a list of inputs based on input source.
application/json
apiPostBulkOperationsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| bulkOperations | array | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ ands | array | optional |
| └ ranks | array | optional |
| └ filters | array | 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 |
| └ 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 |
| └ dataset | 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 |
| └ inputIds | object | optional |
| └ inputIds | array | optional |
| └ progress | object | optional |
| └ processed | integer | optional |
| └ lastProcessedId | string | optional |
| └ createdAt | string | optional |
| └ createdBy | string | optional |
| └ operation | object | optional |
| └ deleteGeo | object | optional |
| └ addConcepts | object | optional |
| └ concepts | array | optional |
| └ addMetadata | object | optional |
| └ metadata | object | optional |
| └ addToDataset | object | optional |
| └ datasetId | string | optional |
| └ overwriteGeo | object | optional |
| └ geo | object | optional |
| └ deleteConcepts | object | optional |
| └ userIds | array | optional |
| └ concepts | array | optional |
| └ deleteMetadata | object | optional |
| └ metadata | object | optional |
| └ deleteFromDataset | object | optional |
| └ datasetId | string | optional |
| └ splitIntoDatasets | object | optional |
| └ method | string | optional |
| └ datasetSplits | array | optional |
| └ lastModifiedAt | string | optional |
An unexpected error response.
A successful response.
POST /v2/bulk_operations
/v2/bulk_operations/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | The bulk operation 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/bulk_operations/{id}
/v2/collectors
Request to delete several things by the list of ids.
application/json
apiDeleteCollectorsRequest
| 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/collectors
/v2/collectors
| 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/collectors
/v2/collectors
application/json
apiPatchCollectorsRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| collectors | array | 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 |
| └ 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 |
| └ description | string | optional |
| └ collectOutputs | boolean | optional |
| └ collectorSource | object | optional |
| └ apiPostModelOutputsCollectorSource | object | optional |
| └ modelId | string | optional |
| └ modelAppId | string | optional |
| └ modelUserId | string | optional |
| └ callerUserId | string | optional |
| └ modelVersionId | string | optional |
| └ postInputsKeyId | string | optional |
| └ preQueueWorkflowId | string | optional |
| └ postQueueWorkflowId | string | optional |
| └ preQueueRandomSample | number | optional |
An unexpected error response.
A successful response.
PATCH /v2/collectors
/v2/collectors
Request to create Collectors.
application/json
apiPostCollectorsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| collectors | array | 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 |
| └ 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 |
| └ description | string | optional |
| └ collectOutputs | boolean | optional |
| └ collectorSource | object | optional |
| └ apiPostModelOutputsCollectorSource | object | optional |
| └ modelId | string | optional |
| └ modelAppId | string | optional |
| └ modelUserId | string | optional |
| └ callerUserId | string | optional |
| └ modelVersionId | string | optional |
| └ postInputsKeyId | string | optional |
| └ preQueueWorkflowId | string | optional |
| └ postQueueWorkflowId | string | optional |
| └ preQueueRandomSample | number | optional |
An unexpected error response.
A successful response.
POST /v2/collectors
/v2/collectors/{collectorId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| collectorId | 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/collectors/{collectorId}
/v2/concepts
| 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 |
| id | query | optional | string | Fuzzy match on concept ID |
An unexpected error response.
A successful response.
GET /v2/concepts
/v2/concepts
application/json
apiPatchConceptsRequest
| Property | Type | Required |
|---|---|---|
| action | string | 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 |
| └ isRankable | boolean | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ keypointInfo | object | optional |
| └ skeleton | array | optional |
| └ k1 | integer | optional |
| └ k2 | integer | optional |
| └ keypointNames | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/concepts
/v2/concepts
application/json
apiPostConceptsRequest
| Property | Type | Required |
|---|---|---|
| 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 |
| └ isRankable | boolean | optional |
| └ definition | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ keypointInfo | object | optional |
| └ skeleton | array | optional |
| └ k1 | integer | optional |
| └ k2 | integer | optional |
| └ keypointNames | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
POST /v2/concepts
/v2/concepts/knowledge_graphs
| 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/concepts/knowledge_graphs
/v2/concepts/knowledge_graphs
application/json
apiPostKnowledgeGraphsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| knowledgeGraphs | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ description | string | optional |
| └ examplesAppId | string | optional |
| └ sampledExamplesAppId | string | optional |
An unexpected error response.
A successful response.
POST /v2/concepts/knowledge_graphs
/v2/concepts/mappings/jobs
application/json
apiPostConceptMappingJobsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| conceptMappingJobs | array | optional |
| └ conceptIds | array | optional |
| └ knowledgeGraphId | string | optional |
An unexpected error response.
A successful response.
POST /v2/concepts/mappings/jobs
/v2/concepts/searches
application/json
apiPostConceptsSearchesRequest
| Property | Type | Required |
|---|---|---|
| extraInfo | object | optional |
| └ rankableModel | 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 |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| pagination | object | optional |
| └ page | integer | optional |
| └ perPage | integer | optional |
| conceptQuery | object | optional |
| └ name | string | optional |
| └ language | string | optional |
| └ useCases | array | optional |
| └ workflowId | string | optional |
An unexpected error response.
A successful response.
POST /v2/concepts/searches
/v2/concepts/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 | — |
| 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/concepts/status
/v2/concepts/{conceptId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| conceptId | path | required | string | The concept’s 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/concepts/{conceptId}
/v2/concepts/{conceptId}/languages
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| conceptId | 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 | — |
| 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/concepts/{conceptId}/languages
/v2/concepts/{conceptId}/languages
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| conceptId | path | required | string | — |
application/json
V2PatchConceptLanguages2Request
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| conceptLanguages | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ definition | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/concepts/{conceptId}/languages
/v2/concepts/{conceptId}/languages
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| conceptId | path | required | string | — |
application/json
V2PostConceptLanguages2Request
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| conceptLanguages | array | optional |
| └ id | string | optional |
| └ name | string | optional |
| └ definition | string | optional |
An unexpected error response.
A successful response.
POST /v2/concepts/{conceptId}/languages
/v2/concepts/{conceptId}/languages/{language}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| conceptId | path | required | string | — |
| language | path | required | string | This is the language identifier. |
| 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/concepts/{conceptId}/languages/{language}
/v2/datasets
Request to delete several datasets by list of ids.
application/json
apiDeleteDatasetsRequest
| Property | Type | Required |
|---|---|---|
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
| datasetIds | array | optional |
An unexpected error response.
A successful response.
DELETE /v2/datasets
/v2/datasets
| 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 | — |
| sortAscending | query | optional | boolean | Sorting options: |
| sortByCreatedAt | query | optional | boolean | Whether to order by the created_at time. |
| sortByStarCount | query | optional | boolean | Whether to order by the number of users stared the app |
| sortByModifiedAt | query | optional | boolean | If neither sort option is set to true, will sort by modified_at. |
| sortById | query | optional | boolean | Whether to order by the external id |
| starredOnly | query | optional | boolean | Filtering options: |
| bookmark | query | optional | boolean | Filter datasets by bookmark. If set, only return bookmarked datasets. Otherwise none bookmarked datasets 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 |
| id | query | optional | string | Fuzzy filter on dataset ID |
An unexpected error response.
A successful response.
GET /v2/datasets
/v2/datasets
Request to patch several datasets.
application/json
apiPatchDatasetsRequest
| Property | Type | Required |
|---|---|---|
| action | string | optional |
| datasets | array | optional |
| └ id | 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 |
| └ version | 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 |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ coco | object | optional |
| └ clarifaiDataJson | object | optional |
| └ clarifaiDataProtobuf | object | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ modelPredictConfig | object | optional |
| └ model | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ annotationFilter | object | optional |
| └ ignoreEmptyInputs | boolean | 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 |
| └ sampleMs | integer | optional |
| └ defaultAnnotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ metric | string | optional |
| └ gitHash | string | optional |
| └ minValue | number | optional |
| └ algorithm | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ applicationId | string | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
PATCH /v2/datasets
/v2/datasets
Request to add one or more datasets.
application/json
apiPostDatasetsRequest
| Property | Type | Required |
|---|---|---|
| datasets | array | optional |
| └ id | 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 |
| └ version | 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 |
| └ metrics | object | optional |
| └ metadata | object | optional |
| └ createdAt | string | optional |
| └ datasetId | string | optional |
| └ exportInfo | object | optional |
| └ coco | object | optional |
| └ clarifaiDataJson | object | optional |
| └ clarifaiDataProtobuf | object | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ gettable | string | optional |
| └ description | string | optional |
| └ processingInfo | object | optional |
| └ frameInterpolationInfo | object | optional |
| └ modelPredictConfig | object | optional |
| └ model | object | optional |
| └ embedModelVersionIds | array | optional |
| └ annotationFilterConfig | object | optional |
| └ annotationFilter | object | optional |
| └ ignoreEmptyInputs | boolean | 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 |
| └ sampleMs | integer | optional |
| └ defaultAnnotationFilter | object | optional |
| └ id | string | optional |
| └ appId | string | optional |
| └ search | object | optional |
| └ id | string | optional |
| └ asOf | string | optional |
| └ name | string | optional |
| └ save | boolean | optional |
| └ query | object | optional |
| └ metric | string | optional |
| └ gitHash | string | optional |
| └ minValue | number | optional |
| └ algorithm | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| └ visibility | object | optional |
| └ applicationId | string | optional |
| └ userId | string | optional |
| └ createdAt | string | optional |
| └ modifiedAt | string | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
POST /v2/datasets
/v2/datasets/{datasetId}
| 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 | — |
| additionalFields | query | optional | array | — |
An unexpected error response.
A successful response.
GET /v2/datasets/{datasetId}
/v2/datasets/{datasetId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
application/json
V2DeleteDatasetInputs2Request
| Property | Type | Required |
|---|---|---|
| inputIds | array | optional |
| userAppId | object | optional |
| └ appId | string | optional |
| └ userId | string | optional |
An unexpected error response.
A successful response.
DELETE /v2/datasets/{datasetId}/inputs
/v2/datasets/{datasetId}/inputs
| 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}/inputs
/v2/datasets/{datasetId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
application/json
V2PostDatasetInputs2Request
| Property | Type | Required |
|---|---|---|
| search | object | 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 |
| datasetInputs | array | optional |
| └ input | 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 |
| └ createdAt | string | optional |
An unexpected error response.
A successful response.
POST /v2/datasets/{datasetId}/inputs
/v2/datasets/{datasetId}/inputs/{inputId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| datasetId | path | required | string | Identify dataset by id. |
| inputId | path | required | string | Identify dataset input 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}/inputs/{inputId}
BookmarkOriginBookmarkType
{
"enum": [
"unknown",
"model",
"workflow",
"dataset",
"module"
],
"type": "string",
"default": "unknown"
}
CloudRegionCloud
{
"enum": [
"UNKOWN_CLOUD",
"SELF_HOSTED",
"AWS",
"GCP",
"AZURE",
"LAMBDA"
],
"type": "string",
"default": "UNKOWN_CLOUD",
"description": " - SELF_HOSTED: Run on a user's own infrastructure. This has restrictions on who can access resources\nthat are being run by SELF_HOSTED runners. Only those who are part of the user/org where they\nexist can leverage them."
}
DeploymentSchedulingChoice
{
"enum": [
"UNKNOWN_SCHEDULING_CHOICE",
"FAIL",
"RANDOM",
"PRICE",
"PERFORMANCE",
"NETWORK",
"UTILIZATION",
"PREFER_SPOT",
"PREFER_ONDEMAND"
],
"type": "string",
"default": "UNKNOWN_SCHEDULING_CHOICE",
"description": "In some scenarios it may not be obvous how we should schedule a resource to underlying nodes\nwithin the nodepool(s) above. The SchedulerChoice allows us to specify how to decide which\nnodepool to use when there are multiple nodepools and how to decide which type of node\nwithin a nodepool if there are multiple types.\nIf here are multiple nondepools then a decision on which to use comes into play\nif it is not specified in the prediction request.\nEven with a single nodepool a choice may come up such as when a resource that needs scheduling\nhas not specified the accelerator types it supports and the nodepool has multiple types.\n\n - FAIL: fail if there is any ambiguity.\n - RANDOM: randomly pick amongst the nodepools/nodes to assign.\n - PRICE: choose the compute that is cheaper\n - PERFORMANCE: schedule to the fastest known iption.\n - NETWORK: optimize based on network latency.\n - UTILIZATION: send to the least used nodepool based on it's capacity.\n - PREFER_SPOT: choose spot instances over on-demand\n - PREFER_ONDEMAND: choose on-demand instances over spot."
}
MatrixUint64
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "string",
"format": "uint64"
},
"description": "Matrix data stored as an array.\nIn order to access matrix element at row i & column j, use data[i*n_cols+j]."
},
"nCols": {
"type": "string",
"title": "Number of columns",
"format": "uint64"
}
},
"description": "Store matrix of uint64s values.\nIt is recommended to store the matrix as a 1D array\nbecause it produces less bytes during serialization than a 2D array.\nThe matrix does store the number of columns, but it does not store the number of rows.\nThe number of rows can automatically be calculated as length(data)/n_cols."
}
ModelTypeFieldModelTypeFieldType
{
"enum": [
"INVALID_MODEL_TYPE_FIELD_TYPE",
"BOOLEAN",
"STRING",
"NUMBER",
"ARRAY_OF_CONCEPTS",
"ARRAY_OF_CONCEPTS_WITH_THRESHOLD",
"RANGE",
"ENUM",
"COLLABORATORS",
"JSON",
"ARRAY_OF_NUMBERS",
"WORKFLOW_EMBED_MODELS",
"ARRAY_OF_STRINGS",
"RECURSIVE_ENUM",
"PYTHON_CODE",
"DATASET_ID",
"DATASET_VERSION_ID",
"ARRAY_OF_MODEL_CONCEPTS",
"DATASET",
"DATASET_VERSION",
"ENCRYPTED_STRING",
"CHECKPOINT_MODEL"
],
"type": "string",
"default": "INVALID_MODEL_TYPE_FIELD_TYPE",
"description": "These are various types of fields that we have UIs for.\n\n - ARRAY_OF_CONCEPTS: For auto-completing to concepts in the app. This goes into an data.concepts field.\n - ARRAY_OF_CONCEPTS_WITH_THRESHOLD: For auto-completing to concepts in the app. This goes into an data.concepts field.\n - RANGE: A range for a float value.\n - ENUM: If ENUM is used then the \"enum_options\" field should also be filled in with the respective ID and description\nfor the different ENUM options.\n - COLLABORATORS: For listing collaborators of the app. The field is a string of the collaborator's user_id.\n - JSON: For arbitrary json object: \"{...}\"\n - ARRAY_OF_NUMBERS: Such as [1.0, 2.0, 3.5]\n - WORKFLOW_EMBED_MODELS: For selecting the embed_model_version_id for context based models.\n - ARRAY_OF_STRINGS: Such as ['a', 'b', 'cantaloupe']\n - RECURSIVE_ENUM: If RECURSIVE_ENUM is used then the \"enum_options\" field should also be filled in with the respective ID and\ndescription for the different RECURSIVE_ENUM options, as well as model_type_fields for each enum choice.\n - PYTHON_CODE: For blocks of code that need to be specified by the user for setup or execution during workflow runs.\n - DATASET_ID: For selecting a dataset id in model parameters. String in API request.\n - DATASET_VERSION_ID: For selecting a dataset version id. String.\n - ARRAY_OF_MODEL_CONCEPTS: For auto-completing to concepts in the model.\n - DATASET: For selecting a dataset\n - DATASET_VERSION: For selecting a dataset version\n - ENCRYPTED_STRING: To pass a string downstream, that is encrypted in the DB and API.\n - CHECKPOINT_MODEL: For selecting a model version of the same model type to resume training from."
}
ModuleVersionModuleNav
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "This is the left side title for this module and for browser tab title of the module.\nWe have this in the version so that users can change those settings\nwhen releasing a new version of their module."
},
"moduleSubNavs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ModuleVersionModuleSubNav"
},
"description": "A list of subnav elements to put under the module title."
}
}
}
ModuleVersionModuleSubNav
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "This is the display title for a navbar element to link to a specific page.\nThe name for this subnav element to show in the sidebar."
},
"queryKey": {
"type": "string",
"title": "The query param name"
},
"queryValue": {
"type": "string",
"title": "The query param value"
}
}
}
NodepoolCapacityType
{
"enum": [
"UKNOWN_CAPACITY_TYPE",
"ONDEMAND_TYPE",
"SPOT_TYPE"
],
"type": "string",
"default": "UKNOWN_CAPACITY_TYPE",
"description": "Type of nodes that are ok for instances in this pool.\nIf both spot and on-demand are provided then the runner will be able to run on either\nwith a preference for spot until they are not available."
}
SearchMetric
{
"enum": [
"METRIC_NOT_SET",
"EUCLIDEAN_DISTANCE",
"COSINE_DISTANCE"
],
"type": "string",
"default": "METRIC_NOT_SET",
"description": "Metric used for search. Can be EUCLIDEAN_DISTANCE (default) or COSINE_DISTANCE.\nCurrently only brute force search supports non-eudlicean metrics."
}
SplitIntoDatasetsDatasetSplitMethod
{
"enum": [
"NOT_SET",
"RANDOM_PERCENTAGE_SPLIT"
],
"type": "string",
"title": "- RANDOM_PERCENTAGE_SPLIT: We will randomly split inputs into the datasets",
"default": "NOT_SET"
}
TaskInputSourceTaskInputSourceType
{
"enum": [
"INPUT_SOURCE_TYPE_NOT_SET",
"ALL_INPUTS",
"SAVED_SEARCH",
"DATASET"
],
"type": "string",
"default": "INPUT_SOURCE_TYPE_NOT_SET",
"description": " - ALL_INPUTS: Use all inputs in the app.\n - SAVED_SEARCH: Use the inputs from a saved search.\n - DATASET: Inputs from a dataset."
}
TaskReviewTaskReviewStrategy
{
"enum": [
"TASK_REVIEW_STRATEGY_NOT_SET",
"NONE",
"MANUAL",
"CONSENSUS"
],
"type": "string",
"default": "TASK_REVIEW_STRATEGY_NOT_SET",
"description": " - NONE: No review is needed.\n - MANUAL: Manual review strategy.\n - CONSENSUS: Consensus review strategy."
}
TaskTaskType
{
"enum": [
"TYPE_NOT_SET",
"CONCEPTS_CLASSIFICATION",
"BOUNDING_BOX_DETECTION",
"POLYGON_DETECTION"
],
"type": "string",
"default": "TYPE_NOT_SET",
"description": " - CONCEPTS_CLASSIFICATION: Concepts classification tasks annotate concepts for the overall image, frame of video or section of text.\n - BOUNDING_BOX_DETECTION: Bounding box detection tasks annotate rectangular bounding box regions around each concept in an image, frame of video or section of text.\n - POLYGON_DETECTION: Polygon detection tasks annotate free-form regions around concepts in an image, frame of video or section of text."
}
TaskWorkerPartitionedStrategyInfoTaskWorkerPartitionedStrategy
{
"enum": [
"PARTITIONED_WORKER_STRATEGY_NOT_SET",
"EVENLY",
"WEIGHTED"
],
"type": "string",
"default": "PARTITIONED_WORKER_STRATEGY_NOT_SET",
"description": " - EVENLY: Each worker will label (approximately) the same number of inputs.\n - WEIGHTED: Each worker will have an assigned weight.\nSee weights field for more details."
}
TaskWorkerTaskWorkerStrategy
{
"enum": [
"WORKER_STRATEGY_NOT_SET",
"PARTITIONED",
"FULL"
],
"type": "string",
"default": "WORKER_STRATEGY_NOT_SET",
"description": " - PARTITIONED: The inputs will be partitioned in several partitions.\nEach worker will label one or more input partitions.\n - FULL: Each worker will label all inputs from input source."
}
V2CancelBulkOperationsRequest
{
"type": "object",
"title": "Cancel a list of bulk operation ids",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "List of bulk operation ids to be cancelled"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
}
}
V2CancelInputsAddJob2Request
{
"type": "object",
"properties": {
"userAppId": {
"$ref": "#/components/schemas/apiUserAppIDSet"
}
}
}
V2CancelInputsAddJobRequest
{
"type": "object",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
}
}
V2CancelInputsExtractionJobsRequest
{
"type": "object",
"title": "Cancel a list of extraction job ids",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "List of extraction job ids to be cancelled"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
}
}
V2DeleteAnnotationFiltersRequest
{
"type": "object",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"annotationFilterIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specify which filters to delete."
}
},
"description": "Request to delete several annotation filters by list of ids."
}
V2DeleteAnnotations3Request
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Delete annotations with IDs"
},
"inputIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "Delete annotations for these Input IDs\nNote that 'ids' are optional but if the are provided the number and order in\n'ids' and 'input_ids' should match\nIf you do not specifiy 'ids' all the annotations for 'input_ids' are deleted\nHowever you need to specify at least one value for 'input_ids'\ni.e. this API does not support deleting all annotations"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several things by the list of ids."
}
V2DeleteBulkOperationsRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "List of bulk operation ids to be deleted"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete the terminated bulk operations by ID\nOnly operations in terminated state can be deleted."
}
V2DeleteCollaboratorsRequest
{
"type": "object",
"title": "DeleteCollaboratorsRequest",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"userEmails": {
"type": "array",
"items": {
"type": "string"
}
},
"collaboratorIds": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
V2DeleteCollectorsRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"deleteAll": {
"type": "boolean"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several things by the list of ids."
}
V2DeleteConceptRelationsRequest
{
"type": "object",
"title": "DELETE concept relations",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "The concept relationship ids to delete."
},
"userAppId": {
"type": "object",
"title": "The user_id and app_id information.",
"description": "The user_id and app_id information."
}
}
}
V2DeleteDatasetInputs2Request
{
"type": "object",
"properties": {
"inputIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specify which inputs to delete from dataset."
},
"userAppId": {
"$ref": "#/components/schemas/apiUserAppIDSet"
}
},
"description": "Request to delete several dataset inputs by list of ids."
}
V2DeleteDatasetInputsRequest
{
"type": "object",
"properties": {
"inputIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specify which inputs to delete from dataset."
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several dataset inputs by list of ids."
}
V2DeleteDatasetVersions2Request
{
"type": "object",
"properties": {
"userAppId": {
"$ref": "#/components/schemas/apiUserAppIDSet"
},
"datasetVersionIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Request to delete several dataset versions by list of ids."
}
V2DeleteDatasetVersionsRequest
{
"type": "object",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"datasetVersionIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Request to delete several dataset versions by list of ids."
}
V2DeleteDatasetsRequest
{
"type": "object",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"datasetIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Request to delete several datasets by list of ids."
}
V2DeleteInputsRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several things by the list of ids."
}
V2DeleteInstalledModuleVersionsRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several installed module versions by the list of ids."
}
V2DeleteLabelOrdersRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete a list of label orders."
}
V2DeleteModuleVersionsRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several module versions by the list of ids."
}
V2DeleteRunnersRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
},
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete several things by the list of ids."
}
V2DeleteTasksRequest
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
},
"description": "Request to delete a list of tasks."
}
V2DeleteUploadsRequest
{
"type": "object",
"title": "Stops or deletes multipart upload",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
}
}
}
V2DeleteWorkflowVersions2Request
{
"type": "object",
"title": "DeleteWorkflowVersionsRequest",
"properties": {
"userAppId": {
"$ref": "#/components/schemas/apiUserAppIDSet"
},
"workflowVersionIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "Delete the versions identified by these ids"
}
}
}
V2DeleteWorkflowVersionsRequest
{
"type": "object",
"title": "DeleteWorkflowVersionsRequest",
"properties": {
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"workflowVersionIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "Delete the versions identified by these ids"
}
}
}
V2GenerateModelOutputs2Response
{
"type": "object",
"title": "Stream result of apiMultiOutputResponse",
"properties": {
"error": {
"$ref": "#/components/schemas/googlerpcStatus"
},
"result": {
"$ref": "#/components/schemas/apiMultiOutputResponse"
}
}
}
V2GenerateModelOutputsResponse
{
"type": "object",
"title": "Stream result of apiMultiOutputResponse",
"properties": {
"error": {
"$ref": "#/components/schemas/googlerpcStatus"
},
"result": {
"$ref": "#/components/schemas/apiMultiOutputResponse"
}
}
}
V2PatchAnnotationFiltersRequest
{
"type": "object",
"properties": {
"action": {
"type": "string",
"title": "The action to perform on the patched objects\nFor now, only 'overwrite' action is supported"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"annotationFilters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiAnnotationFilter"
},
"description": "List of annotation filters that are requested to be updated."
}
},
"description": "Request to patch several annotation filters."
}
V2PatchAnnotationsRequest
{
"type": "object",
"title": "PatchAnnotationsRequest",
"properties": {
"action": {
"type": "string",
"title": "The action to perform on the patched objects\nFor now actions 'merge', 'overwrite', and 'remove' are supported"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"annotations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/clarifaiapiAnnotation"
}
},
"deleteIfEmptyData": {
"type": "boolean",
"description": "If the request is a \"remove\" action and the annotation is left with empty data,\nthen setting delete_if_empty_data to true will delete the annotation,\nif possible (for example, will not delete an input-level annotation)."
}
}
}
V2PatchAnnotationsSearchesRequest
{
"type": "object",
"properties": {
"action": {
"type": "string",
"title": "The action to perform on the patched Search objects\nFor now only action 'overwrite' is supported"
},
"searches": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiSearch"
},
"title": "The searches to be patched"
},
"userAppId": {
"type": "object",
"title": "The user_id and app_id to query from.",
"description": "The user_id and app_id to query from."
}
}
}
V2PatchAnnotationsStatusRequest
{
"type": "object",
"title": "PatchAnnotationsStatusRequest",
"properties": {
"action": {
"type": "string",
"title": "'overwrite' is supported"
},
"userIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "Filter by user IDs"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"statusCode": {
"$ref": "#/components/schemas/statusStatusCode"
},
"statusCodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/statusStatusCode"
},
"title": "Filter by Status codes"
}
}
}
V2PatchAppRequest
{
"type": "object",
"title": "PatchAppRequest",
"properties": {
"app": {
"$ref": "#/components/schemas/apiApp"
},
"action": {
"type": "string",
"description": "The action to perform on the patched App object except App.Metadata\nSupported values: 'overwrite' and 'remove'.\n\nNote that 'remove' can only be used to remove the app image by setting\n'image.url' in the request to the current value returned for the app."
},
"reindex": {
"type": "boolean",
"description": "If set, the app will be automatically reindexed upon change of its base workflow."
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"metadataAction": {
"$ref": "#/components/schemas/apiPatchAction"
}
}
}
V2PatchAppsIdsRequest
{
"type": "object",
"title": "PatchAppsIdsRequest",
"properties": {
"ids": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiIdUpdateSource"
},
"title": "Array containing 1 entry"
},
"action": {
"type": "string",
"title": "The action to perform on the patched objects\nOnly 'overwrite' is supported"
},
"userAppId": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
},
"description": "Common message to identify the app in a url endpoint."
}
}
}
V2PatchAppsRequest
{
"type": "object",
"title": "PatchAppsRequest",
"properties": {
"apps": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiApp"
}
},
"action": {
"type": "string",
"description": "The action to perform on the patched App objects except App.Metadata\nSupported values: 'overwrite' and 'remove'.\n\nNote that 'remove' can only be used to remove the app image by setting\n'image.url' in the request to the current value returned for that app."
},
"reindex": {
"type": "boolean",
"description": "If set, the app will be automatically reindexed upon change of its base workflow."
},
"userAppId": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
},
"description": "Common message to identify the app in a url endpoint."
},
"metadataAction": {
"$ref": "#/components/schemas/apiPatchAction"
}
}
}
V2PatchCollaboratorsRequest
{
"type": "object",
"title": "PatchCollaboratorsRequest",
"properties": {
"action": {
"type": "string",
"title": "The action to perform on the patched objects\nFor now only action 'overwrite' is supported"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"collaborators": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiCollaborator"
}
}
}
}
V2PatchCollectorsRequest
{
"type": "object",
"title": "PatchCollectorsRequest",
"properties": {
"action": {
"type": "string",
"title": "The action to perform on the patched objects\nOnly 'overwrite' is supported"
},
"userAppId": {
"type": "object",
"description": "Common message to identify the app in a url endpoint."
},
"collectors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/apiCollector"
}
}
}
}
| Version | Endpoints | Schemas | Ingested | Status |
|---|---|---|---|---|
| version not set | 400 | 543 | 2026-05-11 | current |
| version not set | 400 | 543 | 2026-04-16 |