pydo.harness.create_session_input()

Generated on 13 Nov 2026 from pydo version v0.46.0

Usage

client.harness.create_session_input(
    session_id="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    body={
        "text": "example",
    },
)
Returns JSON Raises HttpResponseError

Description

The agent observes it on its next turn and emits subsequent events via StreamSession. The input is forwarded to the owning microVM’s OHR inbound surface, which attributes it to a run and returns the run id.

Parameters

session_id string required

Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

The session UUID.

text string required

Example: example

The user message to deliver into the session. Required and non-empty.

Request Sample

Show Request Sample
import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "text": "example"
}

resp = client.harness.create_session_input(session_id="a1b2c3d4-e5f6-7890-abcd-ef1234567890", body=req)

Response Example

Show Response Example
{
  "run_id": "example"
}

More Information

See /v2/agents/sessions/{session_id}/input in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.