Skip to content
For LLMsView as Markdown·

Clarifai ​

undefined

DetailValue
CategoryAI
Base URLhttps://api.clarifai.com/v2
AuthenticationAPI Key
Endpoints6
Connector keyclarifai

Using Clarifai in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Clarifai from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET Predictions
GET Models
GET Inputs
GET Concepts
GET Searches
GET Workflows

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET ​

Predictions

DetailValue
Operation IDpredictions_0
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select predictions_0.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.

GET ​

Models

DetailValue
Operation IDmodels_1
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select models_1.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.

GET ​

Inputs

DetailValue
Operation IDinputs_2
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select inputs_2.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.

GET ​

Concepts

DetailValue
Operation IDconcepts_3
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select concepts_3.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.

GET ​

Searches

DetailValue
Operation IDsearches_4
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select searches_4.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.

GET ​

Workflows

DetailValue
Operation IDworkflows_5
MethodGET
Path``

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Clarifai connection from the Connection dropdown.
  3. In the Operation dropdown, select workflows_5.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Clarifai API reference.