---
title: "Write to a running process's stdin"
method: POST
path: "/api/connectors/processes/{sid}/stdin"
tags: ["Connectors"]
---

# Write to a running process's stdin

`POST /api/connectors/processes/{sid}/stdin`

## Path parameters

- `sid` string, required

## Request body

- SdkConnectorStdinRequest
  - `data_b64` string

## Response `200`

OK

- SdkConnectorOKResponse
  - `ok` boolean

## Other responses

- `400` — bad_request | bad_base64
- `401` — missing or invalid bearer token
- `403` — session belongs to a different workspace
- `404` — session_not_found

## Changes

> 20 revisions in range; 1 could not be searched.

- **2026-05-23** `adc9c56fe2cb` — 1 info
  - endpoint added
- **2026-05-22** `1ba39f384b63` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentserver/apis/agentserver-api/changes/api/connectors/processes/:sid/stdin/post.md)

---

[API](https://skmtc.dev/agentserver/apis/agentserver-api.md) · [All operations](https://skmtc.dev/agentserver/apis/agentserver-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentserver/agentserver-api/revisions/e8c329825b4e/schema)
