---
title: "The workspace’s text inputs"
method: GET
path: "/v1/workspaces/{workspace_id}/inputs"
tags: ["Workspaces"]
---

# The workspace’s text inputs

`GET /v1/workspaces/{workspace_id}/inputs`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/workspaces/{workspace_id}/inputs`
- Auth: HTTP bearer

The text inputs the workspace was opened with (the given value, else the declared default). Every exec, PTY, start command and service gets them as environment variables, above the template env and below the call’s own env. Secret inputs are bound secrets (GET …/secrets). Set on create; replaced by an open of the key with `inputs`. Deleted workspaces stay readable.

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Default Response

- WorkspaceInputs
  - `inputs` object, required: The workspace’s text inputs (name → value). Secret inputs are bound secrets (GET …/secrets), never listed here.

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
