UiPath Documentation
activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service activities

Last updated Apr 9, 2026

Query a Serving Endpoint (Manual)

Description

Important:

This activity does not retrieve the input and output schema of the model. Therefore, please refer to your model documentation and use it as instructed.

This activity enables you to send a request to a Databricks serving endpoint by manually composing the full JSON payload. Unlike the Query a Serving Endpoint activity, which auto-generates the request schema based on the selected model, this activity requires you to know and provide the complete request structure yourself.

Use this activity when:

  • The auto-generated schema approach is unavailable for your model type.
  • You need full control over the JSON payload sent to the endpoint.
  • You are integrating with a custom or non-standard Databricks serving endpoint.

How to use the activity

To use this activity in a Maestro agentic process, follow these steps:

  1. Add a service task element to the canvas and open the task's Properties panel.

  2. In the Implementation section, from the Action dropdown list, select Start and wait for external agent.

  3. Select the Databricks Agent connector.

  4. Select an existing connection or create a new one. For more information, see Databricks Agent authentication.

  5. From Activity, select Query a Serving Endpoint (Manual).

  6. From Serving Endpoint, select the serving endpoint to invoke.

  7. In the Input field, enter the full JSON payload to send to the endpoint. The expected payload structure depends on your model — refer to its documentation.

    For example, for a chat-based model, the payload might look like:

    {
      "messages": [
        {
          "role": "user",
          "content": "What is the capital of France?"
        }
      ]
    }
    {
      "messages": [
        {
          "role": "user",
          "content": "What is the capital of France?"
        }
      ]
    }
    
  8. Connect the start event to the service task, and the service task to an end event node on the canvas.

  9. Select Debug to run the process. After a successful run, review the global variables and look for the response from the service task.

Troubleshooting and Tuning

Because this activity does not retrieve the input and output schema of the model, the request structure and the shape of the response depend entirely on the serving endpoint you are calling. Refer to the model's documentation in your Databricks workspace to understand:

  • The required JSON fields and their types.
  • The structure of the response object returned by the endpoint.

We recommend testing the payload directly in your Databricks workspace first to confirm the expected input and output before integrating it into a Maestro process.

  • Description
  • How to use the activity
  • Troubleshooting and Tuning

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated