Clarifai · Schema

apiPostWorkflowResultsResponse

Clarifai apiPostWorkflowResultsResponse schema

AIComputer VisionNLPImage RecognitionObject DetectionText AnalysisVisual SearchMachine LearningCustom Model TraininggRPC

Properties

Name Type Description
status object The status of the request.
workflow object
results array The resulting predictions of all models in the workflow.
workflow_state object A workflow state to be maintained across PostWorkflowResults requests/responses. This WorkflowState should be passed in to subsequent PostWorkflowResults calls if you want to keep track of state acros
View JSON Schema on GitHub

JSON Schema

apiPostWorkflowResultsResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clarifai/refs/heads/main/json-schema/apiPostWorkflowResultsResponse.json",
  "title": "apiPostWorkflowResultsResponse",
  "description": "Clarifai apiPostWorkflowResultsResponse schema",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/definitions/apistatusStatus",
      "description": "The status of the request."
    },
    "workflow": {
      "$ref": "#/definitions/apiWorkflow",
      "title": "The workflow that was used in predictions with PostWorkflowResults"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/definitions/apiWorkflowResult"
      },
      "description": "The resulting predictions of all models in the workflow."
    },
    "workflow_state": {
      "$ref": "#/definitions/apiWorkflowState",
      "description": "A workflow state to be maintained across PostWorkflowResults requests/responses.\nThis WorkflowState should be passed in to subsequent PostWorkflowResults calls\nif you want to keep track of state across requests.\nIf no WorkflowState was initialized in a request then no WorkflowState will be returned in this\nresponse."
    }
  }
}