Query structured spec data via REST or MCP. Get exactly what your agent needs.
api.clarifia.com
/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/{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
| 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/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/{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
| 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/{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
| 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/{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/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/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/{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
| 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/{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. |
| 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/{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}
/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/{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}/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/{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
| 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/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/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/{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/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/{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.
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
| 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/{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
| 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/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/{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}/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}/output_info
| 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}/output_info
/v2/models/{modelId}/references
| 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 | — |
| page | query | optional | integer | Optional, defaults to 1. |
| perPage | query | optional | integer | Optional, defaults to 128 references per page. |
An unexpected error response.
A successful response.
GET /v2/models/{modelId}/references
/v2/models/{modelId}/versions
| 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 | — |
| 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 |
| conceptIds | query | optional | array | Filtering options: |
| trainedOnly | query | optional | boolean | To list only the model versions that have been trained. |
| sortAscending | query | optional | boolean | Sorting options: |
| sortByStatusCode | query | optional | boolean | Whether to order by the status code |
| sortByNumInputs | query | optional | boolean | Whether to order by the number of training inputs |
| sortByDescription | query | optional | boolean | Whether to sort by the description |
| sortByCreatedAt | query | optional | boolean | Whether to order by the created_at time |
An unexpected error response.
A successful response.
GET /v2/models/{modelId}/versions
/v2/models/{modelId}/versions/{modelVersionId}/evaluations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| modelVersionId | 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/models/{modelId}/versions/{modelVersionId}/evaluations
/v2/models/{modelId}/versions/{modelVersionId}/evaluations/{evaluationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| modelVersionId | path | required | string | — |
| 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/models/{modelId}/versions/{modelVersionId}/evaluations/{evaluationId}
/v2/models/{modelId}/versions/{modelVersionId}/input_examples
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | id of model the example belongs to |
| modelVersionId | path | required | string | specific version the example belongs to |
| 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, defaults to 1. |
| perPage | query | optional | integer | Optional, defaults to 128 references per page. |
An unexpected error response.
A successful response.
GET /v2/models/{modelId}/versions/{modelVersionId}/input_examples
/v2/models/{modelId}/versions/{modelVersionId}/input_examples/{exampleId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | id of model the example belongs to |
| modelVersionId | path | required | string | specific version the example belongs to |
| exampleId | path | required | string | Id of example to fetch |
| 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/{modelId}/versions/{modelVersionId}/input_examples/{exampleId}
/v2/models/{modelId}/versions/{versionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| versionId | 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/models/{modelId}/versions/{versionId}
/v2/models/{modelId}/versions/{versionId}/exports
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| versionId | 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/models/{modelId}/versions/{versionId}/exports
/v2/models/{modelId}/versions/{versionId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| versionId | 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/models/{modelId}/versions/{versionId}/inputs
/v2/models/{modelId}/versions/{versionId}/metrics
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| versionId | 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/models/{modelId}/versions/{versionId}/metrics
/v2/models/{modelId}/versions/{versionId}/output_info
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| modelId | path | required | string | — |
| versionId | path | required | string | This is included so that we can re-use this request for multiple |
| 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 | — |
| 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}/versions/{versionId}/output_info
/v2/modules
| 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 modules by bookmark. If set, only return bookmarked modules. Otherwise none bookmarked modules 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 |
| name | query | optional | string | Filter by the id and description of the module. This supports wildcard queries like “gen*” to match “general” as an example. |
| filterByUserId | query | optional | boolean | Filter by the application owner whose this module belongs to |
An unexpected error response.
A successful response.
GET /v2/modules
/v2/my_scopes
| 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/my_scopes
/v2/myscopes
| 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/myscopes
/v2/myscopesroot
An unexpected error response.
A successful response.
GET /v2/myscopesroot
/v2/open_source_licenses
An unexpected error response.
A successful response.
GET /v2/open_source_licenses
/v2/resource_counts
| 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/resource_counts
/v2/searches
| 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/searches
/v2/searches/{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.
GET /v2/searches/{id}
/v2/status_codes
An unexpected error response.
A successful response.
GET /v2/status_codes
/v2/status_codes/{statusCodeId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| statusCodeId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/status_codes/{statusCodeId}
/v2/tasks
| 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 |
| workerUserIds | query | optional | array | Get tasks that have ANY user from this list assigned as worker. |
| reviewUserIds | query | optional | array | Get tasks that have ANY user from this list assigned as reviewer. |
| labelOrderIds | query | optional | array | Get tasks that are associated to ANY label order from this list. |
| includingLabelOrderTasks | query | optional | boolean | Get label order tasks as well |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response.
|
| ids | query | optional | array | (optional) task IDs to filter on |
An unexpected error response.
A successful response.
GET /v2/tasks
/v2/tasks/{taskId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| taskId | 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 | — |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response.
|
An unexpected error response.
A successful response.
GET /v2/tasks/{taskId}
/v2/tasks/{taskId}/annotations/count
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| taskId | path | required | string | task_id for which count per user per status is needed |
| 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 | — |
| userIds | query | optional | array | for given task_id, user_ids to filter on (optional) |
An unexpected error response.
A successful response.
GET /v2/tasks/{taskId}/annotations/count
/v2/tasks/{taskId}/assignments
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| taskId | 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/tasks/{taskId}/assignments
/v2/tasks/{taskId}/inputs/count
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| taskId | path | required | string | task_id for which count per user per status is needed |
| 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 | — |
| userIds | query | optional | array | for given task_id, user_ids to filter on (optional) |
An unexpected error response.
A successful response.
GET /v2/tasks/{taskId}/inputs/count
/v2/tasks/{taskId}/inputs/samples
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| taskId | 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 | — |
| userIds | query | optional | array | URL param. If zero ids provided, returns for all task labelers |
An unexpected error response.
A successful response.
GET /v2/tasks/{taskId}/inputs/samples
/v2/trending_metrics/views/{viewType}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| viewType | path | required | string | For now view types ‘apps’, ‘workflows’, and ‘models’ are supported. |
| 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/trending_metrics/views/{viewType}
/v2/uploads
| 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/uploads
/v2/uploads/{uploadId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| uploadId | path | required | string | Upload 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/uploads/{uploadId}
/v2/users/{userAppId.userId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}
/v2/users/{userAppId.userId}/apps
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/apps
/v2/users/{userAppId.userId}/apps/{userAppId.appId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotation_filters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/annotation_filters
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotation_filters/{annotationFilterId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| annotationFilterId | path | required | string | Identify annotation filter by id. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotation_filters/{annotationFilterId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/annotations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/searches/metrics
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/searches/metrics
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/searches/metrics/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| id | path | required | string | Unique custom facing id that identifies the eval to get |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/searches/metrics/{id}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/workers
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/annotations/workers
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/bulk_operations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/bulk_operations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/bulk_operations/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| id | path | required | string | The bulk operation id |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/bulk_operations/{id}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/collaborators
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| listAllCollaborators | query | optional | boolean | Set this flag to list both deleted and not deleted collaborators |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/collaborators
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/collectors
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/collectors
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/collectors/{collectorId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| collectorId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/collectors/{collectorId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/concepts
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/knowledge_graphs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/knowledge_graphs
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/relations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| conceptId | query | optional | string | The subject concept id in your app to get all the relationships for. When listing all the relations it will only return one direction of the relationship When providing a concept_id, if a hyponym is present in the DB such as: |
| predicate | query | optional | string | If predicate is provided then only list relations with that predicate. Note that if no subject is set in concept_id and predicate is set to Valid predicates are:
|
| knowledgeGraphId | query | optional | string | If knowledge_graph_id is provided then just list relations from that knowledge graph. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/relations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/status
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/status
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| conceptId | path | required | string | The concept’s id. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/languages
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| conceptId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/languages
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/languages/{language}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| conceptId | path | required | string | — |
| language | path | required | string | This is the language identifier. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/languages/{language}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/relations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| conceptId | path | required | string | The subject concept id in your app to get all the relationships for. When listing all the relations it will only return one direction of the relationship When providing a concept_id, if a hyponym is present in the DB such as: |
| predicate | query | optional | string | If predicate is provided then only list relations with that predicate. Note that if no subject is set in concept_id and predicate is set to Valid predicates are:
|
| knowledgeGraphId | query | optional | string | If knowledge_graph_id is provided then just list relations from that knowledge graph. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/concepts/{conceptId}/relations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/datasets
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| additionalFields | query | optional | array | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/inputs
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/inputs/{inputId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| inputId | path | required | string | Identify dataset input by id. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/inputs/{inputId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions/{datasetVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| datasetVersionId | path | required | string | Identify dataset version by id. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions/{datasetVersionId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions/{datasetVersionId}/metrics
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| datasetId | path | required | string | Identify dataset by id. |
| datasetVersionId | path | required | string | Identify dataset version by id. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/datasets/{datasetId}/versions/{datasetVersionId}/metrics
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/evaluations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/evaluations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/evaluations/{evaluationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| evaluationId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/evaluations/{evaluationId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/inputs
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/add
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/add
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/add/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| id | path | required | string | id of add inputs job |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/add/{id}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/extraction
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/extraction
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/extraction/{inputsExtractionJobId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| inputsExtractionJobId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/jobs/extraction/{inputsExtractionJobId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/status
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/status
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/stream
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/stream
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| inputId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}/annotations/{annotationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| inputId | path | required | string | — |
| annotationId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}/annotations/{annotationId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}/video_manifest
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| inputId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/inputs/{inputId}/video_manifest
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/installed_module_versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/installed_module_versions
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/installed_module_versions/{installedModuleVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| installedModuleVersionId | path | required | string | the ID to get of the install module version. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/installed_module_versions/{installedModuleVersionId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/keys
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/keys
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/label_orders
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/label_orders
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/label_orders/{labelOrderId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| labelOrderId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/label_orders/{labelOrderId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/types
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/types
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/types/{modelTypeId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelTypeId | path | required | string | The specific ModelType.Id you want to retrieve. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/types/{modelTypeId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/concepts
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | Model id |
| versionId | query | optional | string | Model version Id. Optional, if not provided latest model version is used. |
| 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 |
| search | query | optional | string | Searching options:
Keywords are used for partial prefix-matching (so searching for “larif” matches “clarifai”). NOTE: Both the list of fields searched and the exact keyword matching |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/concepts
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/inputs
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/output_info
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/output_info
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/references
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| page | query | optional | integer | Optional, defaults to 1. |
| perPage | query | optional | integer | Optional, defaults to 128 references per page. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/references
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | 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 |
| conceptIds | query | optional | array | Filtering options: |
| trainedOnly | query | optional | boolean | To list only the model versions that have been trained. |
| sortAscending | query | optional | boolean | Sorting options: |
| sortByStatusCode | query | optional | boolean | Whether to order by the status code |
| sortByNumInputs | query | optional | boolean | Whether to order by the number of training inputs |
| sortByDescription | query | optional | boolean | Whether to sort by the description |
| sortByCreatedAt | query | optional | boolean | Whether to order by the created_at time |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/evaluations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| modelVersionId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/evaluations
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/evaluations/{evaluationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| modelVersionId | path | required | string | — |
| evaluationId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/evaluations/{evaluationId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/input_examples
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | id of model the example belongs to |
| modelVersionId | path | required | string | specific version the example belongs to |
| page | query | optional | integer | Optional, defaults to 1. |
| perPage | query | optional | integer | Optional, defaults to 128 references per page. |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/input_examples
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/input_examples/{exampleId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | id of model the example belongs to |
| modelVersionId | path | required | string | specific version the example belongs to |
| exampleId | path | required | string | Id of example to fetch |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{modelVersionId}/input_examples/{exampleId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| versionId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/concepts
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | Model id |
| versionId | path | required | string | Model version Id. Optional, if not provided latest model version is used. |
| 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 |
| search | query | optional | string | Searching options:
Keywords are used for partial prefix-matching (so searching for “larif” matches “clarifai”). NOTE: Both the list of fields searched and the exact keyword matching |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/concepts
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/exports
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| versionId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/exports
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/inputs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| versionId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/inputs
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/metrics
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| versionId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/metrics
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/output_info
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| modelId | path | required | string | — |
| versionId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/models/{modelId}/versions/{versionId}/output_info
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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 modules by bookmark. If set, only return bookmarked modules. Otherwise none bookmarked modules 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 |
| name | query | optional | string | Filter by the id and description of the module. This supports wildcard queries like “gen*” to match “general” as an example. |
| filterByUserId | query | optional | boolean | Filter by the application owner whose this module belongs to |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| moduleId | path | required | string | — |
| additionalFields | query | optional | array | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| moduleId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions/{moduleVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| moduleId | path | required | string | — |
| moduleVersionId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions/{moduleVersionId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions/{moduleVersionId}/usage_count
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| moduleId | path | required | string | — |
| moduleVersionId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/modules/{moduleId}/versions/{moduleVersionId}/usage_count
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/myscopes
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/myscopes
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/resource_counts
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/resource_counts
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/searches
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/searches
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/searches/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| id | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/searches/{id}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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 |
| workerUserIds | query | optional | array | Get tasks that have ANY user from this list assigned as worker. |
| reviewUserIds | query | optional | array | Get tasks that have ANY user from this list assigned as reviewer. |
| labelOrderIds | query | optional | array | Get tasks that are associated to ANY label order from this list. |
| includingLabelOrderTasks | query | optional | boolean | Get label order tasks as well |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response.
|
| ids | query | optional | array | (optional) task IDs to filter on |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| taskId | path | required | string | — |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response.
|
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/annotations/count
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| taskId | path | required | string | task_id for which count per user per status is needed |
| userIds | query | optional | array | for given task_id, user_ids to filter on (optional) |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/annotations/count
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/assignments
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| taskId | path | required | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/assignments
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/inputs/count
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| taskId | path | required | string | task_id for which count per user per status is needed |
| userIds | query | optional | array | for given task_id, user_ids to filter on (optional) |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/inputs/count
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/inputs/samples
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| taskId | path | required | string | — |
| userIds | query | optional | array | URL param. If zero ids provided, returns for all task labelers |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/tasks/{taskId}/inputs/samples
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/trending_metrics/views/{viewType}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| viewType | path | required | string | For now view types ‘apps’, ‘workflows’, and ‘models’ are supported. |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/trending_metrics/views/{viewType}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/uploads
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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/users/{userAppId.userId}/apps/{userAppId.appId}/uploads
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/uploads/{uploadId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| uploadId | path | required | string | Upload ID |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/uploads/{uploadId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | 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: |
| sortById | 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 workflow |
| featuredOnly | query | optional | boolean | Filtering options: |
| starredOnly | query | optional | boolean | If true, we only return workflows that are starred by the requesting user |
| bookmark | query | optional | boolean | Filter workflows by bookmark. If set, only return bookmarked workflows. Otherwise none bookmarked workflows 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 various text fields (id, description and notes) that can contain the words in the query string. |
| id | query | optional | string | Filter by the id of the workflow. This supports wilcard queries like “gen*” to match “general” as an example. |
| searchTerm | query | optional | string | Full text and prefix matching on id, owner id, description and notes. Searchable fields may be added |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| workflowId | path | required | string | Workflow ID to retrieve |
| favorClarifaiWorkflows | query | optional | boolean | Use this flag to look into clarifai published workflows first for a Workflow ID |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response. Currently supported: all, stars |
| excludeClarifaiWorkflows | query | optional | boolean | if true will not expand search to clarifai workflows |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| workflowId | path | required | string | List versions for the workflow identified by this id |
| 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/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}/versions
/v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}/versions/{workflowVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| userAppId.appId | path | required | string | — |
| workflowId | path | required | string | The id of the workflow that has the requested version. |
| workflowVersionId | path | required | string | Get the identified by this id |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/apps/{userAppId.appId}/workflows/{workflowId}/versions/{workflowVersionId}
/v2/users/{userAppId.userId}/collaborations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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 |
| templateOnly | query | optional | boolean | Filtering options: |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/collaborations
/v2/users/{userAppId.userId}/datasets
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/datasets
/v2/users/{userAppId.userId}/duplications
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/duplications
/v2/users/{userAppId.userId}/duplications/{appDuplicationId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| appDuplicationId | path | required | string | — |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/duplications/{appDuplicationId}
/v2/users/{userAppId.userId}/evaluations
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/evaluations
/v2/users/{userAppId.userId}/keys
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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 |
| notExpired | query | optional | boolean | — |
| scopes | query | optional | array | — |
| endpoints | query | optional | array | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/keys
/v2/users/{userAppId.userId}/keys/{keyId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| keyId | path | required | string | — |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/keys/{keyId}
/v2/users/{userAppId.userId}/models
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/models
/v2/users/{userAppId.userId}/modules
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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 modules by bookmark. If set, only return bookmarked modules. Otherwise none bookmarked modules 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 |
| name | query | optional | string | Filter by the id and description of the module. This supports wildcard queries like “gen*” to match “general” as an example. |
| filterByUserId | query | optional | boolean | Filter by the application owner whose this module belongs to |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/modules
/v2/users/{userAppId.userId}/myscopes
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/myscopes
/v2/users/{userAppId.userId}/runners
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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/users/{userAppId.userId}/runners
/v2/users/{userAppId.userId}/runners/{runnerId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| runnerId | path | required | string | — |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/runners/{runnerId}
/v2/users/{userAppId.userId}/runners/{runnerId}/items
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| runnerId | path | required | string | — |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/runners/{runnerId}/items
/v2/users/{userAppId.userId}/scopes
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | string | Note user_id ‘me’ is reserved - it is the alias for the id of authorized user |
| keyType | query | optional | string | If “personal_access_token” include scopes and endpoints available to personal access tokens. |
| userAppId.appId | query | optional | string | — |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/scopes
/v2/users/{userAppId.userId}/workflows
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| userAppId.userId | path | required | 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: |
| sortById | 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 workflow |
| featuredOnly | query | optional | boolean | Filtering options: |
| starredOnly | query | optional | boolean | If true, we only return workflows that are starred by the requesting user |
| bookmark | query | optional | boolean | Filter workflows by bookmark. If set, only return bookmarked workflows. Otherwise none bookmarked workflows 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 various text fields (id, description and notes) that can contain the words in the query string. |
| id | query | optional | string | Filter by the id of the workflow. This supports wilcard queries like “gen*” to match “general” as an example. |
| searchTerm | query | optional | string | Full text and prefix matching on id, owner id, description and notes. Searchable fields may be added |
An unexpected error response.
A successful response.
GET /v2/users/{userAppId.userId}/workflows
/v2/workflows
| 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: |
| sortById | 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 workflow |
| featuredOnly | query | optional | boolean | Filtering options: |
| starredOnly | query | optional | boolean | If true, we only return workflows that are starred by the requesting user |
| bookmark | query | optional | boolean | Filter workflows by bookmark. If set, only return bookmarked workflows. Otherwise none bookmarked workflows 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 various text fields (id, description and notes) that can contain the words in the query string. |
| id | query | optional | string | Filter by the id of the workflow. This supports wilcard queries like “gen*” to match “general” as an example. |
| searchTerm | query | optional | string | Full text and prefix matching on id, owner id, description and notes. Searchable fields may be added |
An unexpected error response.
A successful response.
GET /v2/workflows
/v2/workflows/{workflowId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| workflowId | path | required | string | Workflow ID 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 | — |
| favorClarifaiWorkflows | query | optional | boolean | Use this flag to look into clarifai published workflows first for a Workflow ID |
| additionalFields | query | optional | array | (optional URL parameter) List of additional fields to be included in the response. Currently supported: all, stars |
| excludeClarifaiWorkflows | query | optional | boolean | if true will not expand search to clarifai workflows |
An unexpected error response.
A successful response.
GET /v2/workflows/{workflowId}
/v2/workflows/{workflowId}/versions
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| workflowId | path | required | string | List versions for the workflow identified by this 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/workflows/{workflowId}/versions
/v2/workflows/{workflowId}/versions/{workflowVersionId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| workflowId | path | required | string | The id of the workflow that has the requested version. |
| workflowVersionId | path | required | string | Get the identified by this 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/workflows/{workflowId}/versions/{workflowVersionId}
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 |