Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
    • All guides
      • Creating a node
      • Updating a node
      • Deleting a node
      • Configuring a node environment
      • Sending a request to a node
      • Suspending or resuming a node
      • Creating an alias
      • Updating an alias
      • Deleting an alias
      • Sending a request to an alias
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. DataSphere Inference
  3. Sending a request to a node

Sending a request to a node

Written by
Yandex Cloud
Updated at September 30, 2025

The provided request examples work correctly only with Docker image nodes. To request a model node, install Triton Client.

Requests to the node can be submitted by users and service accounts with the minimum project role of datasphere.community-projects.developer. The service account must reside in the same folder as the node.

Yandex DataSphere interface
gRPC API
REST API

Send a test request to a node from the DataSphere interface:

  1. Select the project in your community or on the DataSphere home page in the Recent projects tab.

  2. Under Project resources, select Node.
  3. Select the node to send the request to.
  4. Go to the Request tab.
  5. Under Create test request, in the Input field, enter the request input variables in {"a":2,"b":3} format and click Execute.
  6. View the request processing results under Response.

Note

The cURL section contains examples of requests to a node for cURL and gRPCurl.

The Server response section provides sample code and node response descriptions.

grpcurl \
   --header "x-node-id: <node_ID>" \
   --header "Authorization: Bearer <IAM_token>" \
   --header "x-folder-id: <folder_ID>" \
   --data '<input_variables>' \
   node-api.datasphere.yandexcloud.net:443

Where:

  • <node_ID: Node ID.
  • <IAM_token>: IAM token used for authentication.
  • <folder_ID>: ID of the folder where the project and node were created.
  • <input_variables>: Object in {"a":2,"b":3} format where keys match input variables.

The successful response will return an object:

{
   "output": {
      <output_variables>
   }
}

Where <output_variables> is the object where keys match output variables.

You can use cURL to send REST requests.

curl \
   --header "x-node-id: <node_ID>" \
   --header "Authorization: Bearer <IAM_token>" \
   --header "x-folder-id: <folder_ID>" \
   --request <method> \
   --data '<input_variables>' \
   https://node-api.datasphere.yandexcloud.net/

Where:

  • <node_ID>: Node ID.
  • <IAM_token>: IAM token used for authentication.
  • <folder_ID>: ID of the folder where the project and node were created.
  • <request_type>: Type of HTTP request.
  • <input_variables>: Object in {"a":2,"b":3} format where keys match input variables.

The response returns a JSON object with output variables.

Was the article helpful?

Previous
Configuring a node environment
Next
Suspending or resuming a node
© 2025 Direct Cursus Technology L.L.C.