# Upstage Studio

> Upstage Studio turns documents into structured data with workflows (parse, classify, extract, instruct, match, validate, merge, export), stores results in collections, and lets coworkers work in chat with that data and with connected tools. This file tells AI assistants what they can do with an API key, what still needs the web UI, and how to operate the web UI without mistakes.

## What you can do today

| Task | How |
|---|---|
| Run an existing workflow on a document | API. See "Run a workflow" |
| Create a workflow, or save a new version of its steps and schema | API or web UI. See "Build a workflow with the API" |
| Chat with an existing coworker | API. See "Chat with a coworker" |
| Read the values a collection holds | API. See "Read collection data" |
| Search a collection by meaning | API. See "Search a collection" |
| Create or edit a coworker, a skill, a connector, or a collection | Web UI. The public API reference does not cover these yet. See "Operating the web UI" |

Do not call paths under `https://studio.kr.upstage.ai/api/`. They are internal, need a browser session, and change without notice. The public API lives at `https://api.upstage.ai/v2`.

## Authentication

```
Authorization: Bearer $UPSTAGE_API_KEY
```

Read the key from the `UPSTAGE_API_KEY` environment variable. Never write a literal key into code, config files, or the conversation, and do not ask the user to paste one into the chat. Keys are issued at https://console.upstage.ai/api-keys.

A resource that belongs to a Project needs the `x-project-id` header on every request. The Code dialog of that resource in Studio shows the header with the right value.

## Run a workflow

Each workflow publishes its own instructions, with its ID filled in, at:

```
https://studio.kr.upstage.ai/agents/{workflow_id}/code.md
```

Fetch that file before writing code. The short version: upload a file with `POST https://api.upstage.ai/v2/files`, start a job with `POST https://api.upstage.ai/v2/responses` (`model` is the workflow ID), then poll `GET https://api.upstage.ai/v2/responses/{job_id}` until `status` is `completed`, `failed`, or `cancelled`.

A failed job carries `error: { code, step, message }`. `step` is the stage that failed and `message` is the reason. Report both instead of guessing. Stop a job you started by mistake with `POST https://api.upstage.ai/v2/responses/{job_id}/cancel`.

- `config_id` in the request body runs one saved version (`cfg_...`). Without it the default version of the workflow runs, which is not always the newest one.
- `GET https://api.upstage.ai/v2/agents/{workflow_id}/jobs` lists the past jobs of a workflow. Narrow it with `config_id` or `status`; while `has_more` is true, pass `last_id` as `after`.
- `DELETE https://api.upstage.ai/v2/responses/{job_id}` removes the record and the result of a job. Wait until the job has ended, and ask the user before deleting.

## Build a workflow with the API

A workflow is built in two calls: create the workflow, then save its steps as a configuration version. The API keeps the path `/agents` and IDs that start with `agt_` for workflows. These two calls take no `Upstage-Agent-Version` header; that header belongs to the coworker session calls only.

```bash
# 1. Create the workflow. The response "id" (agt_...) is the workflow ID
curl https://api.upstage.ai/v2/agents \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Invoice extraction", "visibility": "private"}'

# 2. Save the steps as a version. The response "id" (cfg_...) is the config ID
curl https://api.upstage.ai/v2/agents/YOUR_WORKFLOW_ID/configs \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Invoice v1",
    "is_default": true,
    "steps": [
      {
        "name": "Parse",
        "type": "document-parse",
        "data": {"model": "default"},
        "next_steps": [{"step_name": "Extract"}],
        "is_first": true
      },
      {
        "name": "Extract",
        "type": "information-extract",
        "data": {
          "model": "default",
          "json_schema": {
            "type": "object",
            "properties": {
              "invoice_number": {"type": "string", "description": "Invoice number, without the date"},
              "total": {"type": "number", "description": "Total amount, without the currency symbol"}
            },
            "required": ["invoice_number", "total"]
          }
        },
        "next_steps": [],
        "is_first": false
      }
    ]
  }'
```

- Each step has a `name` (unique, and what other steps connect to), a `type`, `data` (the settings of that type), `is_first` (true on exactly one step), and `next_steps` (the steps that follow, each by `step_name`; an empty array ends the path). Connections cannot loop back to an earlier step.
- A connection can carry a condition. After a Classify step with `"split": true`, `{"step_name": "Extract", "condition": {"field": "text", "operator": "==", "value": "invoice"}}` runs Extract only for documents classified as `invoice`.
- The public reference documents these step types: `document-parse`, `document-classify`, `information-extract`, `instruct`, `merge`, `validate`. Read the settings of each type at https://console.upstage.ai/docs/agents/config-steps before writing `steps`, and do not invent fields. `"model": "default"` picks the default model of that step. For any other step, build the workflow in the web UI.
- A rejected version answers 400 with `error.param` set to `steps` and one of these codes: `config_steps_empty`, `config_first_step_invalid`, `config_step_name_duplicate`, `config_next_step_not_found`, `config_graph_cyclic`, `config_step_data_invalid`. When `error.details` is present it names the step. Fix that step instead of sending the same body again.
- The steps of a saved version cannot be edited. To change them, save a new version with the full `steps` list, keeping the `node_id` of each step when the version you read has one. Use `"is_default": false` while testing and pass the new ID as `config_id` when you run it. Make a version the default with `POST https://api.upstage.ai/v2/agents/YOUR_WORKFLOW_ID/configs/YOUR_CONFIG_ID` and the body `{"is_default": true}`.
- `GET https://api.upstage.ai/v2/agents` lists workflows, and `GET https://api.upstage.ai/v2/agents/YOUR_WORKFLOW_ID/configs` lists the versions of one. In requests use the `cfg_...` ID, not the version number shown next to it.
- `DELETE https://api.upstage.ai/v2/agents/YOUR_WORKFLOW_ID` deletes the workflow and cancels its running jobs. There is no restore, so ask the user first. Deleting the default version leaves the workflow without one, and runs that omit `config_id` then fail.

## Chat with a coworker

Coworkers do not run through `/v2/responses`. Open a session and add turns. Every call needs the `Upstage-Agent-Version: v2` header.

```bash
# 1. Start a session with the first message. The response "id" is the session ID
curl https://api.upstage.ai/v2/agents/sessions \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Upstage-Agent-Version: v2" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "YOUR_COWORKER_ID", "input": "Hello!"}'

# 2. Poll the latest turn until data[0].status is terminal
curl "https://api.upstage.ai/v2/agents/sessions/YOUR_SESSION_ID/turns?limit=1" \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Upstage-Agent-Version: v2"

# 3. Send a follow-up in the same session (returns 202, then poll again)
curl https://api.upstage.ai/v2/agents/sessions/YOUR_SESSION_ID/events \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Upstage-Agent-Version: v2" \
  -H "Content-Type: application/json" \
  -d '{"events": [{"type": "agent.session.input.message", "input": [{"role": "user", "content": [{"type": "input_text", "text": "Tell me more."}]}]}]}'
```

Turn status is one of `queued`, `in_progress`, `completed`, `failed`, `cancelled`, `requires_action`. The reply text is in `data[0].output`, in items of type `message`, in parts of type `output_text`. At `requires_action` the turn has paused and will not finish by polling: stop and tell the user instead of polling forever. A coworker turn can take minutes, so poll every few seconds and set a generous timeout. To receive the reply as server-sent events instead of polling, add `"stream": true` to the request in step 1.

The coworker ID (`cw_...`) is in the coworker's "..." menu, under "Code".

## Read collection data

A collection keeps the values its workflow extracted. Read them by ID in two steps. Unlike "Search a collection", this works for a collection without a search index.

```bash
# 1. List the fields you can search and the operators each one supports
curl https://api.upstage.ai/v2/search-collections/YOUR_COLLECTION_ID/schema \
  -H "Authorization: Bearer $UPSTAGE_API_KEY"

# 2. Find documents by an extracted value
curl https://api.upstage.ai/v2/search-collections/YOUR_COLLECTION_ID/documents/search \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filter": {"extract": {"field_key": "YOUR_FIELD_KEY", "operator": "exact", "value": "YOUR_VALUE"}}, "include_fields": ["YOUR_FIELD_KEY"], "limit": 20}'
```

- Step 1 returns `simple_fields`, each with a `field_key`, a `display_name`, and its `supported_search_operators`. Take the `field_key` and the operator for step 2 from there instead of guessing them.
- Step 2 returns one entry per document in `data`. Its `values` holds only the fields named in `include_fields` (up to 20 field keys); leave that out and `values` comes back empty. While `has_more` is true, send the same body again with `"after"` set to `last_cursor`.
- A collection with several result types (for example, one filled by a workflow with more than one Extract step) answers 400 `result_type_required` in steps 1 and 2 until one is named. List the keys with `GET .../types`, then add `?result_type_key=...` to the URL of step 1 and `"result_type_key"` to the body of step 2. A collection with a single result type needs neither.

## Search a collection

This searches the text of the documents by meaning. To look up extracted values, use "Read collection data".

```bash
curl https://api.upstage.ai/v2/vector_stores/YOUR_COLLECTION_ID/search \
  -H "Authorization: Bearer $UPSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "YOUR_SEARCH_QUERY", "max_num_results": 5}'
```

Use the collection ID (starts with `scol_`) as the path ID. `data` holds the matched chunks with `file_id`, `filename`, `score`, and `content`. The endpoint is OpenAI SDK compatible: `client.vector_stores.search(vector_store_id=..., query=...)` with `base_url="https://api.upstage.ai/v2"`. A collection without a search index returns 404. The collection ID is in the Code dialog of that collection in Studio.

## Operating the web UI

Building is only possible in the web UI for now, so an assistant that controls a browser needs these rules.


- In coworker chats, the header history button opens or closes the list on both wide and narrow layouts. Closing it on a wide layout keeps it closed after resizing. Narrow layouts show the current conversation by default; resizing across the narrow breakpoint closes an explicitly opened mobile list. The current conversation, search and unsent draft are retained.
- Find elements by `data-testid`. The IDs below are stable; visible text changes with the user's language.
- Workflow, sharing, monitoring, and file download controls are shown according to the workspace’s feature settings and, where the permission capability rollout is enabled, deployment capabilities. If a control is temporarily unavailable, retry later instead of bypassing the UI. An open editor keeps its unsaved state when availability changes; entering another screen still checks the UI setting. API authorization is checked separately; UI visibility does not prove API entitlement.
- Project resource tabs follow their feature settings. Without Workflow permission, the Workflow tab and its creation controls are unavailable; the first available tab opens instead, including for old Workflow tab links.
- Some steps and sections exist only where a feature is enabled for the workspace. If a button described here is missing, tell the user instead of looking for a workaround.
- Sign-ins to connected apps (OAuth) and payment screens are for the user. Hand those over.
- Do not call `https://studio.kr.upstage.ai/api/` from the page with scripts. Use the UI.

### File inputs

Most file inputs are hidden behind a button, and several exist on the same page for different purposes. Pick the input by its `data-testid`, never by position or by "the first file input". A schema JSON placed in the document input is uploaded as a document.

| `data-testid` | What it takes | Format |
|---|---|---|
| `header-upload-input` | Documents for a workflow to process (the Upload button in the workflow header). Upload as one group joins the selected pages into one result | PDF, images, Office files, video |
| `schema-toolbar-file-input` | Extract schema import (the schema toolbar of an Extract step) | JSON |
| `dc-schema-toolbar-file-input` | Classify schema import (the schema toolbar of a Classify step) | JSON |
| `workflow-import-json-input` | Whole workflow configuration import. Replaces the open workflow after a confirmation dialog | JSON |
| `my-workflows-bulk-import-input` | Import one or more workflows from the workflow list | JSON, ZIP |
| `gold-upload-input` | Answer set (gold) upload in the table view | YAML |
| `detail-gold-upload-input` | Answer set (gold) upload for the document open in the editor | YAML |
| `collection-upload-input` | Documents added to a collection. Upload as one group joins the selected pages into one result for the current upload | PDF, images, Office files (video where enabled) |
| `coworker-creation-knowledge-files-input` | Knowledge files for a new coworker (Create New Coworker page) | Any file |
| `coworker-settings-knowledge-files-input` | Knowledge files for an existing coworker (its settings, after Edit) | Any file |
| `skill-import-input` | Skill import in the skill form | Markdown, plain text |

### Build a workflow

When AI Workflow tools are available in Studio chat, ask the chat to build a workflow by describing the task and the output you need. Ask for workflow recommendations or an existing template to browse published workflows.

The chat can also run a workflow on files already uploaded to that workflow, without attaching them again: ask it to run the workflow on those files (by name, or "the uploaded files"), and it looks up the workflow's files and runs the ones meant. The workflow needs a saved version to run. If the chat says it cannot reach those files, attach them to the chat instead.

The workflow list is at `https://studio.kr.upstage.ai/agents`. `my-workflows-create-button` opens a dialog of starting points, each `pipeline-option-{id}`. Pick the one closest to the job: fewer steps to add means fewer connections to get wrong.

On the main list, when Studio chat is available, `pipeline-option-chat` ("Create by chatting with AI") opens an automation prompt in the same dialog. Choose a domain and an example, or describe the task in `workflow-chat-task-input`, then choose `workflow-chat-continue` ("Send to chat"). This sends the workflow request as the first message of a new chat. The From Scratch card is available in project lists and on the main list when the chat option is unavailable.

If the chat finds related workflows in the library, the recommendation carousel (`grace-library-agent-results`) appears where the first results arrive in the chat, before any later questions or work. Further search results update the same carousel, and it stays visible when the work summary folds.

| `{id}` | Title on screen | Starting action |
|---|---|---|
| `chat` | Create by chatting with AI | Send a request to Studio chat |
| `scratch` | From Scratch | Parse only |
| `parse` | Turn documents into text | Parse |
| `classify` | Organize documents by type | Parse → Classify |
| `extract` | Extract key information | Parse → Extract |
| `classify-extract` | Extract different data by document type | Parse → Classify → Extract |
| `instruct` | Instruct documents with AI | Parse → Extract → Instruct |

Starting from a template opens the workflow at `https://studio.kr.upstage.ai/agents/{workflow_id}` with a generated name. Rename it by double-clicking the name in the header (`breadcrumb-agent-name`), or with "Edit name" in the "..." menu (`workflow-more-menu`, then `workflow-rename-button`).

These cover the page and block clicks until closed:

- A cookie banner. Which cookies to allow is the user's choice: ask, or choose `cookie-consent-reject` ("Reject non-essential").
- Feature introductions such as `coworker-intro-popover`. Close with `coworker-intro-dismiss`.
- Hints (`wizard-hint`) that point at the next thing to do.
- The first-run guide of a new workflow (`first-run-guide-popover`). From step 2 onward, `first-run-guide-previous` (the left chevron labeled "Previous") reopens the nearest earlier step with a visible target. `first-run-guide-close` closes it for this page; it returns on the next page load while the workflow is still empty. `first-run-guide-dismiss` ("Don't show again") turns it off for the user, so use it only if the user agrees.

1. Open the editor with `workflow-edit-button`, the Edit button (View for read-only access), with a tooltip and accessible name, in the middle of the header (next to the step tabs, or next to the file readiness guidance in a new workflow). It opens the "Workflow editor" canvas with an "Add node" toolbar. Close it with `config-overlay-close-button`. If the header shows the Draft badge, open the Actions menu and choose Edit.
2. Add steps from the toolbar: `add-classify-button`, `add-extract-button`, `add-transform-button`, `add-instruct-button`, `add-match-button`, `add-validate-button`, `add-merge-button`. Classify, Extract, and Instruct have a mode menu (`add-classify-mode-menu` and so on). You can also click the end marker of the canvas (`flow-end-node`) and pick a suggested next step (`next-step-ghost-{type}`).
When workflow-import-automation is enabled, configure a Collection schedule in Import settings or select the file input start marker and use the Automation card (`file-import-automation`) below the input method to choose a connected Google Drive folder or Gmail account. File settings edit the workflow draft directly. Choose a connected account. For Drive, use Browse Drive folders to open folders, preview the PDF files directly inside, and select the folder to watch, or paste a folder link or ID; then select at least one event for event-based runs. For Gmail, use Choose a Gmail label to select one label (Inbox by default). Save as the default workflow version to activate automatic runs. Run processes the selected files for Drive and Gmail workflows. Receiving new files is triggered by the configured schedule or provider event.
3. Click a node to open its settings on the right. Nodes are `rf__node-{id}`, where the ID is `parse`, `import`, or `{type}-{name}`.
   With the unified model selector enabled, on-premises Classify, Extract, and Instruct use a single dropdown of models from the deployment catalog. Imported steps show the saved selection read-only. For Extract, choose the extraction mode separately.
   When organization model visibility is enabled, Classify, Extract, and Instruct offer models that the organization shows for that step and that you can run. A hidden model already saved in a node stays selected. If a model is hidden, ask the organization owner to show it under Settings → Admin menu → Model settings, then click Refresh in the editor's model selector.
   When Pipeline supports catalog masking, Extract uses the same model selector for document masking. If Auto is unavailable, select a visible Extract model. If the organization has hidden all available Extract models, ask the owner to show one first.
4. Connect nodes by dragging from the right handle of one node to the left handle of the next.

| Step | Node ID prefix | What it does |
|---|---|---|
| Import | `import` | Continues processing from results saved in a collection. Replaces Parse as the first step. Added from the start marker (`flow-start-node`), not the toolbar |
| Parse | `parse` | Converts your document (PDF, image, etc.) into machine-readable text. Always the first step, one per workflow |
| Classify | `classify` | Sorts documents by type, such as invoices, receipts, or contracts. Its split mode cuts one file into several documents |
| Extract | `extract` | Pulls out specific fields from documents, such as dates, amounts, or names. Uses a schema. See "Workflow and schema files" |
| Instruct | `instruct` | Uses AI to analyze, summarize, or make decisions about the content. Uses a prompt |
| Merge | `merge` | Merges split documents back into one. Adding it turns on Classify split |
| Match | `match` | Finds matching records and links them. Adding it with no Extract also adds an Extract |
| Validate | `validate` | Checks rules against upstream results and routes documents to green/yellow/red. See "When results look wrong" |
| Export | `export` | Saves results as searchable server-side tables (Collections) consumable by Match nodes in other workflows. Always last. Nothing connects out of it |
| Transform | `transform` | Performs calculations based upon other workflow values. Follows exactly one Extract that is not masking. Added from the toolbar (`add-transform-button`) or from an Extract end marker (`next-step-ghost-transform`). The Functions control (`transform-function-catalog`) lists every formula function. Each output row has an On error control (`transform-output-row-{index}-on-error-type`: empty, another field, or a fixed value). The Collection section name (`transform-collection-section`) starts as the node name and changes only through its edit button (`transform-collection-section-edit`) |

In an editable HTTP Export node, select Add header (`export-credentials-manage`). Each inline row shows the header name and value side by side. Choose Direct input for a literal value or Credential for a Vault reference. Select New credential below the picker to create and select a Vault credential for the endpoint host. For Bearer authentication, set the name to Authorization, choose Credential, then select Add prefix and enter `Bearer ` (including the space). Apply the row to update the workflow draft, or cancel to discard the row edits. Use Edit or Remove on each header, then save the Config version. The editor displays linked credential names and hides secret values and credential IDs. Use Direct input only for values that can be stored in the workflow.

A rejected connection shows "Can't connect here" with one of these reasons. Values in braces are filled in on screen.

- "Parse is the starting step and can't receive a connection."
- "Steps can only connect in order (Parse → Classify → Extract)."
- "Enable both steps before connecting them."
- "A step can't connect to itself."
- "This connection would create a loop."
- "Each path can include only one {nodeType} step."
- "The imported Collection path already has a {nodeType} step. A path can have only one {nodeType} step."
- "Each branch can connect to only one next step."
- "This step already belongs to another path."
- "Merge requires Classify with split enabled."
- "Merge can only connect to Extract, Instruct, Validate, Export, or Match."
- "Merge must come after a Classify step in the path."
- "Match can only come right after an Extract step (directly or via a Merge of Extract steps)."
- "Transform must follow exactly one Extract step that is not masking."
- "Transform can only connect to Instruct, Validate, Match, or Export."
- "A path from Transform cannot reach Merge."
- "A path from this Extract reaches the Collection without the Transform. When an Extract uses a Transform, every path must pass through it."
- "One Extract can reach a Collection through only one Transform."
- "A Merge connected to Match can only receive Extract inputs."
- "A Match placed after a Merge can only connect to Instruct, Validate, or an HTTP Export."
- "A Match placed after a Merge can't connect to an Export that builds a Collection. Only an HTTP Export works here."
- "This Match's next step isn't supported after a Merge. Disconnect the next step before connecting the Merge."
- "An Export node holds one collection. Add another Export node for this route."
- "Imported document types can connect only to Extract, Instruct, Merge, Validate, or Export."

Each output holds one connection. Connecting a second one does not fail: the earlier connection is removed and a "Previous connection removed" notice appears. Check the canvas after every connection.

### Save and versions

- Edits are a draft and autosave a few seconds after each change. A draft is not a version.
- To save the draft as a version, open `config-version-selector` in the header and click `config-version-draft-save` ("Save"). It appears only while a draft exists.
- Saving checks the configuration first. If a step has a problem (marked on its node, for example an empty Instruct prompt), "Invalid configuration" appears with the list of problems and the draft stays a draft. The header shows "Draft" next to the version until the save succeeds.
- Running with a draft also saves it as a new version first.
- Where Make default is enabled, saving when there is an existing version opens `config-save-policy-dialog`: choose to keep the current default or replace it for this save. Save & Run executes the newly saved version in either case. The first version saves without this dialog and becomes the default. Cancel creates no version and starts no run. Running an existing version does not open this dialog. No browser preference is persisted.

### Run a workflow

- When an upload-enabled workflow has no files, the header says "Upload a file to run". Upload a file to provide input. This guidance is hidden while files are loading or uploading, or when the file list could not be loaded; an absent label does not confirm readiness.
- The Run button is `run-button`. When it is disabled, its tooltip says why. Fix what it says instead of retrying:
  - "Please upload files first to run your workflow"
  - "Please wait, your workflow is already running"
  - "Running is not available with API file source"
  - "Select a document to run your workflow"
  - "Switch to Details or Table view to run"
  - "Fix the configuration errors before running"
  - "Select a run to run its file again"
- In the table view, a run creates one job for every pair of selected file group and selected configuration version. The draft counts as one more version. 16 file groups with one saved version plus the draft create 32 jobs.
- Every job is billed work. In the table view, Run opens a confirmation dialog (`run-confirm-dialog`) whose title is the total number of jobs, followed by the versions and the file groups. Read it before confirming. If the count is not what you intended, close it and fix the selection.
- While a run is going, the header shows the step in progress instead of the step tabs. Do not decide a run is over from the header text. The run is over when its job in the Monitor view (`view-toggle-monitor`) has a final status: completed, failed, or cancelled.
- To stop a run, use `agent-run-cancel` in the header, then `agent-run-cancel-confirm`. Steps that already finished keep their results.
- If a job stays on the same step for a long time without progress, cancel it and tell the user instead of waiting indefinitely or starting another run.

### Read results

- Switch views with `view-toggle-detail` (one document at a time), `view-toggle-table` (one row per document), and `view-toggle-monitor` (jobs).
- In the detail view, pick a document in the file panel on the left. The step tabs in the header (`workflow-step-tab-{step}`) choose which step's result is shown on the right, with a formatted view and a JSON view.
- In Details, where Files and Run history tabs are enabled, `file-panel-search-button` searches each tab separately. Both tabs place List options immediately left of Search. Files matches file names. Run history matches run IDs and file names and can be narrowed by configuration, status, and source through `file-panel-job-list-filter-trigger`. Selecting a run-history filter keeps its menu open. Escape clears that tab’s search and leaves the filters in place. `file-panel-list-options` controls file sort and available display options.
- On mobile, expand Files to search by name. Tap a result to open it, or tap outside the search popover to dismiss it.
- While searching Files, selecting all acts on visible results. Files you already checked outside the search still count toward Run. Review the selection count or use the bulk menu to deselect those hidden files before running.
- Documents added to a collection that has a representative workflow also appear in that workflow's file panel, as if they were uploaded there.
- On a collection detail page with an enabled Upload File button, drag documents over the page to show the upload card in the table area, then drop them to upload. When the Files tab is available, review the upload confirmation there before starting processing.
- In collections with Review enabled, choose Download results or Upload results from the Review menu. Choose or drop one JSON file in the upload dialog, review the server preview, then choose Apply in the footer to publish the corrections.
- Editing a config preserves the last run status and step tabs. A stale-result notice explains that displayed results use the previous config. Its `result-stale-run-button` saves the draft and reruns the displayed file group (not other checked groups); grouped inputs are labeled with their file count. It shares the header run permissions, validation and blocking dialogs.
- Clicking a file row in a collection opens its original document in a side sheet (`collection-job-source-sheet`). Where the run history tab is enabled, its header has "View details" (`collection-job-source-sheet-open-workflow`) on a wide (desktop) window, which opens the workflow that ran it in a new tab, at `https://studio.kr.upstage.ai/agents/{workflow_id}?view=details&job={job_id}`. That address opens the run history tab with that run selected and its result shown; the list is not filtered. When the user cannot open that workflow (for example a collection created from a results JSON, or a deleted workflow), the button is shown disabled (`collection-job-source-sheet-open-workflow-unavailable`) and hovering it explains why. The same action ("View details") is also an open-in-new-tab icon button at the right end of each row of the collection's file list (`collection-file-list-open-run-{job_id}`, wide window, not on collections created from a results JSON), so the run can be opened without opening the side sheet first. The workflow name under the collection title (`collection-detail-agent-link`) opens that workflow in a new tab on its run history tab (`https://studio.kr.upstage.ai/agents/{workflow_id}?view=details&tab=runs`) instead of the file list. In the collections list, the star in front of each name (`search-collections-favorite-{collection_id}`) marks a collection as the user's own favorite; it is a personal marker, and starred collections are shown first within each loaded group of 5 pages (100 collections), and the rest keep the chosen date order.
- Where the collection keeps a review change history, the side sheet of a completed run has "Change history" (`collection-job-source-sheet-revisions`) in its header. It replaces the document with the list of review changes (`job-revision-history`), each with who made it, when, and the number of changes (`job-revision-group`). "Show changes" (`job-revision-toggle`) expands a change to its before and after values. The same header button, now "Back to document", returns to the document. Read the history before overwriting a value someone corrected in review.
- In the run history tab the `job` query in the address always follows the selected run, so the address bar is a link to the run being viewed and a reload shows the same run. Switching to the file tab removes `job` from the address.
- Results cite their source. Clicking a citation opens the original document at that place, which is the fastest way to check a value.

### When results look wrong

- To see why a job failed, open the workflow's Monitor view (`view-toggle-monitor`) and click the job. Its details (`job-detail-drawer`) show the failed step and the message.
- One file that holds several documents (for example two receipts scanned together) is treated as one document: Parse and Extract mix their values into one record. Put a Classify step with split before Extract so each document gets its own result.
- Validate compares values only along paths that run together. Comparing values from two different paths needs a Merge between them, and the run is blocked with a message that says so if it is missing.
- A Validate rule that could not be compared at all is marked "Can't compare" with a yellow icon, apart from a failed rule, and gives the reason, such as "Cannot compare because the documents to compare cannot be paired" or "Cannot compare because a value is missing or is not a single value". The table view counts these separately in the cell (`validate-cell-unevaluable`). This is not a value mismatch, so do not loosen the rule: fix the missing value or the document pairing and run again.
- A Validate rule that refers to a value by a typed path, instead of picking it from the list, is not checked before the run. If every document comes out red, open one result and read which rule failed and which values it compared before changing anything else.
- A Validate step that is not connected to anything is left out of the saved configuration without a warning.

### Collection location and move

- Collection creation labels its scope selector "Save location", with "Personal space" as the personal choice. Choose a project to share with the team.
- Where unified collection search is enabled, collections with a vector store show a text-labelled Move button in the list (`search-collections-move-{collectionId}`). On mobile, first open the row actions menu (`search-collections-actions-{collectionId}`) and select Move; Delete in the same menu still requires confirmation. The mobile list keeps Name and Updated columns visible, with project and file count under the name. It opens the existing Settings Move section and focuses the destination selector; it does not execute a move.

### Show or hide the results collection

- A workflow's results collection is hidden from the Collections list by default. In the workflow more menu, "Show in Collections list" (`workflow-default-collection-listed-switch`) lists it; a listed results collection stays after the workflow is deleted. While it is off, deleting the workflow may delete the results collection too, and the Delete workflow dialog says so (`delete-workflow-deletes-default-collection`) before you confirm. Run records stay either way.
- If another workflow, an AI Coworker, or a share uses the collection, it is listed automatically and cannot be hidden again.

### Move a workflow with its default collection

- In the default results collection, open Move from the collection header menu or use the Move section in Settings. Both use the same move dialog as the workflow list (`resource-move-dialog`): select the destination project, and the list shows which connected items, such as the workflow, move with it.
- Closing the dialog leaves the move running. The corner indicator (`resource-move-indicator`) reopens its progress.

### Delete a workflow

- In the "..." menu (`workflow-more-menu`), choose `workflow-delete-button`, then confirm with `delete-workflow-dialog-confirm`. If a selected file cannot be deleted, the workflow stays available. Reopen the dialog to see the remaining files before retrying.
- Uploaded files are kept unless you tick `delete-workflow-files-checkbox` in that dialog. It starts unticked.
- Finished results are kept, and so is the collection that runs fill with results (named after the workflow, ending in "results"). Delete that collection separately if the user wants everything gone.

### Workflow and schema files

Writing JSON and importing it is faster and less error prone than clicking through every field. Start from a file Studio exported whenever you can, change it, and import it back. These menus exist only where import and export are enabled.

**Whole workflow configuration**

- Export: the "..." menu in the workflow header (`workflow-more-menu`), then `workflow-export-json-button` ("Export workflow config"). The file has `"kind": "studio.workflow-config-draft"`, `"schemaVersion": 4`, and the steps, schemas, and connections under `workflowConfig` (step settings in `*Configuration` keys, connections in `pipelineEdges`).
- Import: the same menu, `workflow-import-json-button` ("Import workflow config"), or the file input `workflow-import-json-input`. A confirmation dialog follows, and the import replaces the configuration of the open workflow. The previous configuration stays in version history.
- The format is internal and changes between versions. Edit an exported file instead of writing one from scratch. A file whose steps and connections break the rules in "Build a workflow" is rejected.

**Extract schema**

Open the Extract step's settings, then import with the schema toolbar's "..." menu (`schema-toolbar-more-button`, then `schema-toolbar-import-button`) or the file input `schema-toolbar-file-input`. Export the current schema with `schema-toolbar-export-button` to see a real example.

```json
{
  "type": "json_schema",
  "json_schema": {
    "name": "invoice",
    "schema": {
      "type": "object",
      "properties": {
        "invoice_number": {
          "type": "string",
          "description": "Invoice number printed near the top"
        },
        "total_amount": {
          "type": "number",
          "description": "Grand total including tax"
        },
        "line_items": {
          "type": "array",
          "description": "One row per billed item",
          "items": {
            "type": "object",
            "properties": {
              "item": {
                "type": "string",
                "description": "Item name"
              },
              "amount": {
                "type": "number",
                "description": "Line amount"
              }
            }
          }
        }
      }
    }
  }
}
```

- The file must end in `.json`. Its file name becomes the step name.
- The import replaces the schema of the Extract step whose settings are open.
- A single value (string, number, boolean) becomes a field. An array of objects becomes a table, and its `items.properties` become the table's columns.
- At most 100 keys in total, where each field, each table, and each table column counts as one (the example above is 5). No name may start with `_`, and every table needs at least one column.
- `description` is optional but tells the model what to look for. Write it.

**Classify schema**

Open the Classify step's settings, then import with `dc-schema-toolbar-more-button`, then `dc-schema-toolbar-import-button`, or the file input `dc-schema-toolbar-file-input`. Export with `dc-schema-toolbar-export-button`.

```json
{
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "name": "document-classify",
      "schema": {
        "type": "string",
        "oneOf": [
          {
            "const": "invoice",
            "description": "Bills from suppliers"
          },
          {
            "const": "receipt",
            "description": "Proof of payment"
          }
        ]
      }
    }
  }
}
```

- Each `oneOf` entry is one document type: `const` is its name and `description` says how to recognize it.
- To turn on split, add `"extra_body": { "split": true }` next to `response_format`. Export a Classify step that uses split to see the split criteria format.

### Studio chat

Where next question suggestions are available, open Settings → Profile → Preferences (`https://studio.kr.upstage.ai/settings/general`) and use `grace-next-question-toggle`. The preference is saved for the signed-in account in this browser. Turning it off stops automatic suggestions after a chat reply.

### Build a coworker

- A new coworker: `https://studio.kr.upstage.ai/coworkers/build` ("Create New Coworker"). Fields use the prefix `coworker-creation`: `coworker-creation-name`, `coworker-creation-role` ("Job title"), and `coworker-creation-instructions` ("Work instructions") are required. Submit with `coworker-creation-submit` ("Create coworker"), in the bar pinned to the bottom of the page. It is saved right away; there is no separate publish step. The form has no tool picker: every available tool is attached to a new coworker. "Create New Coworker" on the coworker list (`https://studio.kr.upstage.ai/coworkers`) opens the coworker builder. Fill in the settings directly, or describe a task and send it in the chat to generate a draft. The empty first message shows three compact suggestion rows (`coworker-creation-recommendation`), each with an icon and short title (`coworker-creation-recommendation-option`). Recorded recurring work from the personal profile comes first when memory usage is enabled, followed by connected-app examples, at most one per task category. General report, meeting and reply examples fill the remaining rows and stay available while loading, on lookup failure, without sign-in, or when personalization is disabled. App examples use connection metadata, not messages or documents. Suggestion rows use quiet, compact text. Known Korean action endings are shown as conversational requests without changing the original task inserted into the composer. Expand "Why these suggestions?" below the rows to inspect each reason (`coworker-creation-recommendation-reason`); reasons are collapsed initially. Profile tasks show the source recorded in the saved profile when present; without one, they only identify the profile as the basis. Connected-app and general examples identify themselves as examples. These reasons describe the saved profile or connection, not a fresh review of messages or documents. The accessible name and hover text include the title and reason. The placeholder uses the first suggested request. Selecting a row fills and focuses the composer for editing; it never sends or saves automatically. The rows hide while text is entered or a request is pending. Late results never replace typed text. Pressing Tab in the empty first message inserts its displayed request for editing. The left panel is one editable draft, with no View draft/Edit directly tabs. Edit the name, job title and one-line description in place. The plus action on connectors, skills, workflows, references, schedules and triggers opens the relevant selection or creation dialog directly. The connector dialog has Apps and Custom MCP tabs; selections stay checked across tabs, Apply updates both categories together, and Cancel leaves them unchanged. References opens one dialog with Collections and Upload from computer tabs. Selections and ongoing uploads stay in the draft when switching reference tabs or closing the reference picker. Closing the entire builder or reloading interrupts unfinished uploads; re-add those files after reopening. Late results from the closed builder do not replace newer draft edits. Work instructions expand in place; Done, next to Refine in the editor header, returns to the summary while keeping edits in the draft. The required badge is hidden in this editor; empty instructions still prevent creation. Clicking the current model opens the shared model and reasoning selector directly. Expand the full work instructions to read them, or edit Work instructions in place. Settings follow this order: connectors, skills, workflows, references (collections before files), model, schedules and triggers, followed by Advanced settings. Advanced settings is collapsed by default; click the centered downward arrow (`coworker-creation-advanced-settings-toggle`, accessible name and hover label "Advanced settings") to reveal response style and conversation starters. The arrow points upward while expanded. All conversation starter questions appear immediately when Advanced settings opens, with no second edit toggle. Both stay mounted when collapsed, preserving selections and edits. Response style has length and tone choices with a single downward chevron, like the model selector. Choose a style even before writing instructions. The work instructions editor shows only the authored body. The selected style is preserved during manual edits and AI draft generation or refinement, and is appended when saved. A style choice alone does not satisfy the required work instructions. It shows actual selections; available but unconfigured settings say "Not set". Disconnected apps have a plug icon and a short "Connect" link to connector settings. A weekly instruction alone does not configure a schedule. When workflow version selection is enabled, choose a selected workflow's execution version next to its name; otherwise any saved version pin remains visible. Selected reference files, collections and workflows link to their own screens in a new tab; the file link opens its preview with `/files?file=<file-id>`. Uploading/failed files and resources without an accessible destination have no link. The connection picker reloads on reopening, returning from connector settings, and connector changes in another tab, without clearing selected items. The footer remains visible on desktop and mobile. Clicking the leftmost refresh icon (`coworker-creation-reset`), or hovering it with a mouse for one second, opens a reset confirmation (`coworker-creation-reset-confirm`). Confirming clears the draft and offers Undo; the save destination is immediately before the create button on the right. Changing it keeps all configured files, collections, workflows and pinned workflow versions; it does not delete selections or copy resources. Saving still uses the chosen destination and its access rules. If coworker creation succeeds but metadata or automation saving fails, reopening and retrying updates that same coworker instead of creating a duplicate. Trying to create with missing required fields reveals the relevant input and focuses it. The chat is always available and uses the same composer and send button as the main chat, with 14px input and message text. On desktop it stays to the right of the editable draft. With no conversation yet, a compact introduction appears in the chat. The suggestion rows sit directly above the composer, which stays at the bottom of the chat panel. Draft editing keeps two shortcut examples; selecting one fills the input without sending. Drag the separator (`coworker-creation-resize`) to resize the chat, or focus it and use Left/Right arrows; Home/End select the minimum/maximum width and double-click restores the default split. On small screens the dialog opens in chat. After generating a draft, tap "Open" on its named card (`coworker-creation-open-draft`) in the conversation to edit the generated fields and create the coworker. The Open card appears only in the mobile conversation, not while the draft is already open. While editing on mobile, the conversation and its empty-state introduction are hidden; the composer stays available. Once a draft is available, its Open card stays available in the conversation even if required fields are cleared; an empty name shows "Coworker draft". Returning to chat focuses that card. Reset hides it, and Undo restores it. The composer remains below the settings on small screens, so you can send a follow-up without leaving the editor first; sending returns to the conversation. Use "Back to chat" above the draft, to read the conversation without sending. Use the paperclip to attach TXT, MD, CSV, JSON documents or PNG, JPG, WEBP images (up to 3 files, 2 MB total, 20,000 characters per text document); images can also be pasted into the composer. Attached references remain available for follow-up messages until removed. They are only references for this creation conversation and are not added to the saved coworker’s files. Closing the builder or changing account, organization, destination or model clears them; retrying a request that used cleared references asks you to reattach them. Retrying a previous failed message preserves any new unsent text and attachments in the composer. A known usage-limit error shows the shared usage-recovery callout; other errors keep the normal Retry action. Follow-up messages can ask questions or update specific profile fields before saving. Suggested names are short character nicknames, rather than defaulting to human given names; an explicit unused name is preserved. Asking to rename also updates direct references to that name in the instructions, keeping the other instructions intact. Reopening restores the draft and conversation for the same signed-in person and organization. Switching accounts does not restore another person's draft. Throughout the dialog, if the user can add resources to any project, the footer control `coworker-creation-location` ("Save to") chooses the project for generation and creation ("Personal space (Only me)" by default). Save to stays visible while locations load; a failed lookup offers "Reload project list" (separate from resetting the draft), and returning to the tab refreshes the list without clearing the draft. Changing it preserves the draft, uploaded files, picked collections, and selected workflows. Known collection names and links keep their original personal or project scope; saving in another project does not grant access to those resources. Inside a project, a new coworker is always created in that project.
- An existing coworker: `https://studio.kr.upstage.ai/coworkers/{coworker_id}/settings` opens its settings. Before editing, it shows every editable section (connectors, skills where enabled, workflows where enabled, references, model, and a collapsed advanced settings section with the short introduction of up to 100 characters and starter questions), with an empty notice where nothing is set. Open advanced settings with `coworker-settings-settings-advanced-toggle`. Tools are not shown or chosen in settings; a coworker keeps the tools it was saved with. Click `coworker-settings-edit`, then the same fields use the prefix `coworker-settings`. The "Work instructions" box grows with its text instead of scrolling on its own, here and on the new coworker page. Save with `coworker-settings-save` and confirm with `coworker-settings-save-confirm`. A save applies to new conversations for everyone who uses the coworker. Earlier versions are in `coworker-settings-version-history`.
- Personal coworker creation shows a notice that only the creator can see it. Choose a project where available to share with the team.
- For personalized suggestions, use "Build my profile" (`coworker-creation-profile-setup`) when profile building is available. An existing profile offers "Update profile", including when it has no recurring work yet. This opens a new chat with a profile-building request filled in; review and send it yourself. The existing profile builder saves the result to Memory. Use "Back to coworker creation" (`coworker-profile-setup-return`) in the chat banner (`coworker-profile-setup-banner`) when ready; it returns to the original save destination and does not return automatically. Returning to the builder or focusing its tab reloads the saved profile and its recorded task sources. If memory use is disabled, follow "Memory settings" to enable it; if the profile cannot be loaded, use "Try again". The profile actions and recommendation rows hide while the composer has text or a request is pending.
- In the library profile, "Hire this coworker" opens a short confirmation. Confirm with `coworker-hire-confirm` ("Hire to my space"); Cancel returns to the profile without copying. After a successful package hire, any required account connections are shown with "Open connection settings" or "Connect later". Schedules are shown before confirmation because hiring imports them.
- Coworker sharing (`agent-role-dialog`) asks for a recipient first, then shows the available roles and optional connected-material sharing. Custom roles remain available. Sharing does not change conversation sharing settings.
- Library package publishing (`coworker-package-publish-dialog`) keeps optional workflows, files and collections in "Materials to include". Nothing is selected by default. The version to publish is shown beside the coworker name on the selection step, including when there is only one version; multiple versions use a dropdown separate from materials. The materials section is hidden when the chosen version has none. Open it to choose materials and whether to include documents from their collections. Then use "Next" to review a read-only summary of the selected version, tasks and reference materials, with apps to connect after hiring shown separately, and "Request publication" to submit for approval. "Change materials" returns to the selection without losing it. Legacy publication keeps tags and material options in collapsed sections.
- For Public Library publishing, the version being published must have no Custom MCP configured. The publish dialog shows the reason when that version uses Custom MCP. Ask the user before removing Custom MCP from the coworker's settings.
- References: "Upload from computer" uses the knowledge file input in the table above, and "Choose from collections" picks collections. Picking a file uploads it to the account's Files (`https://studio.kr.upstage.ai/files`) at once, even if the coworker is never saved, and deleting the coworker does not delete it. Keep track of what you upload, and remove files the user no longer needs from Files.
- When a collection disconnects after a move, the coworker conversation's "..." menu and its "View profile" item show red dots. In the profile, red dots mark the Settings tab (`coworker-profile-tab-settings`) and References heading. Hover or focus the gray "Disconnected" chip to read how to reconnect. The remove button beside the chip stages the removal and opens Edit if needed. Save to apply the change. The profile dots clear when the last disconnected collection is removed from the draft. The conversation indicators refresh when the profile closes.
- "Move" in the coworker's "..." menu opens `coworker-move-dialog`. The dialog explains that individual sharing is removed. Its conversation notice follows the chosen destination: moving to a project can expose earlier Studio conversations to that project's members; moving to personal space ends project-based sharing. This notice does not depend on the mover's sharing feature flag, because project read access uses the reader's flag. The author's own history and separately shared public links are not revoked by this move. API Sessions keep their recorded project scope. After picking a different destination, review its access notice and select any collections to move with the coworker using `coworker-move-collection-{collection_id}`. If connections will be lost, review the impact and confirm with "Disconnect and move" (`coworker-move-confirm`). The coworker moves first. Each selected collection reconnects when its move finishes, and the dialog shows its status. Collections left behind can be replaced in the coworker's settings.
- Where enabled, "Move" on a workflow (the workflow list "..." menu, or the bulk action for several selected workflows) and on a collection (its "..." menu or the Move area of its Settings tab) opens `resource-move-dialog`. Pick the destination; the list then shows what moves: the started items and their required items are checked and locked, and connected items (`move-row-{type}-{id}`) start unchecked except the ones the server suggests. Each row says why it appears and what happens if it is left behind; rows that cannot move say why. "Select all connected items" (`move-select-all-connected`) adds every movable connected item. "Next" (`move-next`) opens the review; if connections will break, check `move-confirm-acknowledge` before "Move" (`move-confirm-submit`). Everything chosen moves at once, or nothing moves. Runs in progress finish first, and new runs of the moving workflows wait until the move ends. The move continues if the dialog is closed; a corner indicator (`resource-move-indicator`) reopens its progress, where it can be cancelled until it starts switching location.
- Where enabled, a separate "Workflows" section between connectors and references picks the AI Workflows this coworker mainly uses with "Add workflows"; workflows are not picked in the references picker. Up to 20 can be picked. Picking one turns on the workflow tool; it does not add the workflow's collections to the references. The save fails if a picked workflow was deleted or the user can no longer view it; such a workflow shows as "Workflow name unavailable" and can be unchecked in the same picker. While editing, the "x" on a picked workflow's row asks to confirm first (`{prefix}-workflow-remove-confirm`, "Remove this workflow?"); confirm with "Remove" (`confirm-dialog-confirm`). Removing a workflow also drops its pinned run version, and it applies on save like any other change.
- Where the run version select is enabled, each picked workflow has one on the same row as its name (`{prefix}-workflow-version-{workflow_id}`). "Default configuration" (the default) runs the workflow's default configuration at the time of each run, so it follows later changes to that default. Choosing a version pins the coworker to that version. If a pinned version is later deleted, the coworker does not switch to another version: its runs of that workflow fail, the select and the read-only settings show that the pinned version was deleted, and the user has to choose a version again (or "Default configuration") and save. The save fails if a chosen version is not a version of that workflow. Before editing, the settings show the pinned version under the workflow name. Where the select is not enabled, a version cannot be chosen: a picked workflow follows its default configuration, a version pinned earlier stays pinned and is shown under the workflow name while editing too (with the deleted notice if it was deleted), and the only way to drop that pin is to remove the workflow and add it again. A run card for a workflow the coworker ran opens the workflow panel at the version that run used; if that version was deleted, the panel says so (`chat-agent-detail-run-config-missing`) and shows another version instead.
- Model: `{prefix}-model-select`. Scheduled tasks and triggers appear only where enabled.
- Where enabled, `https://studio.kr.upstage.ai/coworkers/scheduled-tasks` lists all of the user's scheduled tasks (`scheduler-item`) and coworker triggers (`scheduled-trigger-item`) in one table, with search and filters by coworker and by type. When AI Coworkers are not enabled for the user, it still opens from the sidebar but lists only scheduled tasks run by Chat, without coworker tasks or triggers. Each row has an on/off switch (`scheduler-toggle`, `scheduled-trigger-toggle`) and a "..." menu to edit or delete. A trigger is created in its coworker's settings, not on this page. Clicking a scheduled task or trigger row opens its detail window; "Run now" for a scheduled task is in the window's header, edit and delete are in its "..." menu, and the coworker that runs it is shown as a link to that coworker's chat. The detail's run history shows 5 runs a page; when there are more, Previous and Next buttons (`unattended-run-pagination-prev`, `unattended-run-pagination-next`) move between pages and the current and total page are shown between them (`unattended-run-pagination-status`, for example "2 / 7"; "4+" means more runs are left to load). Running a task now goes back to the first page. Deleting a coworker turns its scheduled tasks off and the row says the coworker was deleted and it cannot be switched back on (create a new task with another coworker instead); moving a coworker between a project and personal space moves its scheduled tasks with it.
- Create a trigger in the coworker's Triggers section (`coworker-trigger-form`): pick the app (`coworker-trigger-provider`), then the mailbox (`coworker-trigger-mailbox`) or a folder (`connector-folder-use`). For mail, the sender field `coworker-trigger-sender` starts empty. Enter addresses or patterns such as `*@example.com`. Focusing the field lists recent senders of that mailbox to pick with the arrow keys and Enter. Pasting a list that includes the any-sender pattern keeps only that pattern. Quick picks under the field (`coworker-trigger-sender-quick-pick`) set any sender (`*`, shown with a warning icon) or turn an added address into its domain pattern (`boss@example.com` → `*@example.com`). Hover over or focus a quick pick to see the pattern it adds. Triggers cannot filter by the address mail was sent to; to handle only mail to a shared address such as contact@, have the user gather it into a label or folder with a mail filter and pick that mailbox. "Message to the coworker" (`coworker-trigger-prompt`) may stay empty: each conversation then carries only the email or file as an attachment, and the coworker handles it by its work instructions. With approval mode (`coworker-trigger-approval`) "Ask when needed", work named there can run without asking, while other send or edit actions wait for approval. Submit with `coworker-trigger-submit`; a missing mailbox, folder, or sender list is marked invalid instead of disabling the button.
- Profile scrolling: the header and tab content share one scroll area. Instructions/Settings tabs stick below the close control after scrolling past the header; scrolling to the top restores the full header. Switching tabs preserves the header collapse position and, while pinned, each tab’s reading depth.
- With API schedule management enabled, the scheduled tasks list also includes API-created coworker schedules. Their approval mode is fixed to run without approval. A globe icon (`scheduler-api-created`) next to the task name, in the list and in the detail, marks a task created through the API; hovering it says the task may behave differently from Studio agents. Tasks moved over from Studio do not get the icon. If an API schedule's coworker is deleted or moved, the schedule stops: its switch, run-now action, and the "..." menu's edit and resume items are disabled (the detail's edit button too) and the row says to check the coworker and create a new task. While an API schedule's run is in progress, it cannot be deleted: the delete button and menu item are disabled and say it can be deleted after the run finishes. New tasks created in Studio run on the Studio scheduler, except on installations that create every scheduled task through the API (on-premises): there, tasks made in the form or from chat are all API schedules, so they run without approval on their coworker's model, the form offers no model or approval choice, chat creates one after a single confirmation card that says it runs without approval, and no globe icon is shown. Hiring a coworker from the library there does not bring its published schedules. An API schedule's run conversations are grouped under that task in the coworker's conversation list, like runs of tasks created in Studio, even before a run is opened; opening a run turns it into a Studio conversation that stays in that group. A run that failed before it started has no conversation, and its run history row gives the reason instead. An API schedule run by Chat (the general assistant, not a coworker) shows "Chat" as who runs it, is listed with Chat schedules when filtering by who runs them, and opens its run conversations as chat conversations; a run that is still in progress cannot be opened yet and says to try again after it finishes. A run that was cancelled is shown as "Cancelled", apart from runs the schedule skipped.
- Run now: a scheduled task the user paused can still run now, and it stays paused afterwards. A task that stopped on its own cannot run now; fix the cause and turn it back on first. Tasks stop on their own after five failed runs in a row or when their coworker is deleted or moved; tasks created in Studio also stop when their API key is gone or their repeat setting is invalid.
- Opening a scheduled run conversation opens the Resources panel on the Chat resources tab, where the scheduled task and its run history appear. Use the Sources tab to check citations for the answer.
- Scheduled tasks and triggers: in Settings, the section’s "+" opens a form inside the same dialog. The background list and its Edit/Save controls are inactive until that form closes. When creating a new item, Back or Cancel returns to the same tab and list position; at widths of 1024px or more, the form opens on the right (up to 520px wide in coworker settings and up to 440px in other dialogs), and clicking the dimmed area on the left also goes back. In the trigger creation form, changing the app updates the source controls in place while keeping the message and approval inputs in position. Unsaved form input requires confirmation before it is discarded. Form actions stay at the bottom while fields scroll. The panel slides in from the right and returns to the right on close, respecting reduced-motion preferences. While a panel is open, Back, Escape, or the dimmed area returns to the list; the outer Close button is hidden. When editing an existing item inside the panel, Cancel returns to that item’s detail. In the conversation list, an item with no runs opens only that task’s detail, and closing it returns to the conversation. An item with runs opens its latest run conversation and execution resources instead. In a standalone detail dialog, cancelling an edit returns to the same detail; closing the detail returns to its caller. In Edit mode, Apply stages the change for the coworker’s Save; in view mode, Save applies it immediately.
- Scheduled task form: the prompt (`scheduler-prompt-input`) is optional. Left empty, each run sends a default instruction in the schedule’s language (in English, "Carry out your instructions."), which the field shows as its placeholder. Save (`scheduler-save`) stays enabled; pressing it with an empty name marks the name field invalid instead of saving. A task can run at up to 10 times a day; at the limit, the add-time button (`scheduler-add-time`) is replaced by a note (`scheduler-max-times`).
- The coworker ID (`cw_...`) for the API is in the page URL (`/coworkers/{coworker_id}/chat/...`) and in the "..." menu (`coworker-conversation-menu`), under "Code" (`coworker-code-menu-item`). The code samples in that dialog can contain the user's real API key once one is selected. Do not paste them into code or chat; use `UPSTAGE_API_KEY` as in "Authentication".
- Chat with a coworker in the UI: type into `agent-chat-conversation-input` and press `agent-chat-conversation-send`. While the coworker is working, a stop button (`agent-chat-conversation-stop`) replaces the send button; the reply is finished when the send button is back.
- In a coworker chat the "+" button (`agent-chat-conversation-attach`) opens a menu instead of the file picker. "Attach file" (`agent-chat-conversation-attach-files`) opens the file picker. Where web search is available, "Web search" (`coworker-composer-web-search`) is a switch that keeps the menu open: while it is on, a "Web" chip (`coworker-composer-web-search-chip`) sits next to "+", and every message sent to that coworker makes it search the web first, unless a skill other than translation was selected with / for that message, in which case the selected skill runs first; click the chip to turn it off. The switch is remembered per coworker until the page is reloaded. When the coworker has connectors, `coworker-composer-tools` lists them at the top of the menu, above "Attach file" (the list is loaded when the chat opens). A connected one shows a green dot; clicking it (`coworker-composer-connector-ask`) puts "What can you do with {app}?" into the input without sending it. One that is not connected for the current user shows "Not connected" and is left out of the conversation until connected; clicking it (`coworker-composer-connector-connect`) starts connecting the account right away (the provider sign-in popup opens) without leaving the chat. An "Unavailable" one cannot be clicked. The "+" button is disabled while the coworker is working.
- During chat, `chat-resources-toggle` opens the right resources panel. "Sources" lists document citations recorded in the selected answer; "Chat resources" lists attached and configured files, collections, app connection status, and apps used in the conversation. Being connected does not mean an item was cited. Click a source row to open the document preview and close the resources popup. If the preview is already open, opening resources places the popup above it. Click the resources toggle again, press Escape, or click outside to close the popup. Escape restores focus to its trigger. Outputs appear below the tabs when available.
- Where the workflow tool is on, a coworker that runs an AI Workflow in chat waits up to about 30 seconds for the run. A short run finishes inside the same reply: the coworker answers with the result, and the run card (`agent-run-request-status`) shows the final state at once ("Run completed", "Partially failed", or "Run failed") and lists the failed files by name. A longer run keeps going in the background after the reply ends: the card keeps updating until every file is done, and the coworker does not answer with that result on its own, so read it from the card or ask the coworker again once the card shows a final state. Where follow-up replies are enabled, the coworker does answer on its own: a few seconds after every run is done, a new reply with the result appears below, with no new user message before it. Wait for that reply instead of asking again. It still appears if the user sent other messages in the meantime: it is added once the runs are done, below the replies that came before it. It does not appear if the user sends a message while the follow-up reply is being written (the next reply covers the result instead) or if the runs take too long to finish; then read the result from the card.
- A single reply has an action budget (model rounds and server tool calls, 40 each by default). When a long task uses it up, the coworker ends that reply with what it finished, and the last reply shows a notice with `Continue` (`tool-budget-continue-button`). Pressing it sends a message asking the coworker to continue; the new reply gets a fresh budget and picks up the remaining work. Replies stopped by repeated or failing calls do not get the button.
- Stopping a reply also tries to cancel the AI Workflow runs that reply started. The stopped reply (`turn-stopped`) then lists the result for those runs, and their run card (`agent-run-request-status`) shows the same: cancelling, cancelled, already finished (its result is kept), can't be cancelled (with the reason), or couldn't be confirmed (check the workflow's run list). The results settle within a few seconds and stay after a reload. Where follow-up replies are enabled, the coworker then reports those results in a new reply of its own, and the stopped reply stops listing them (the run card still shows them). Sending a message while that follow-up reply is being written interrupts it without an error, and the next reply reports the results. A run that keeps going in the background after its reply ended can be cancelled from its run card: "Cancel run" (`agent-run-request-cancel`), then confirm (`agent-run-request-cancel-confirm`). The card shows "Cancelling" until the runs stop and then "Run cancelled"; cancelled runs are counted separately from failed ones.
- Where skills are enabled, typing `/` in the chat input lists skills to run in that message. With no coworker selected it lists the user's skills; in a coworker chat it lists the coworker's capabilities and a separate skills group (`capability-palette-skill-{skill_id}`). Picking one inserts `/name` into the message.
- If a chat cannot be opened, a notice (`coworker-conversation-unavailable`) says why. When the chat link is wrong or the chat was deleted, start over with `coworker-new-conversation` instead of retrying the same link; when the coworker cannot chat yet, go back to the coworker list with `coworker-back-button`. While Studio is still checking whether the coworker is busy in another run, the chat input is hidden and cannot send; wait for it to come back.
- Where conversation sharing is enabled, a project coworker's conversation list also shows conversations other project members had with that coworker, mixed with your own by time. Their rows show who started them (`conversation-owner-{user_id}`) and have no select box, rename, or delete. Conversations other members started through the public API are listed too. Opening one shows it read-only (`coworker-shared-session`; a public-API one, `coworker-shared-session-view`, shows only the message text, without tool cards or attachments); below it, an input (`coworker-shared-continue-input`) has "Continue this conversation" (`coworker-shared-continue`) in place of the send button: it copies the conversation up to the last finished reply into a new conversation of your own with the same coworker, running with your identity and connectors, and sends what you typed there as the first message (with the input empty, it only copies). The original stays unchanged. While the other member's reply is still running, the button is disabled and turns on once the reply finishes.
- Delete a coworker: "..." menu, then `coworker-delete-menu-item` ("Delete coworker"), then `coworker-delete-confirm`. Its reference files stay in Files.

### Skill creation

Where Skills is enabled, type / in a Studio chat or coworker chat to open the skills palette. In coworker chat, mixed skill results distinguish coworker, personal, and built-in skills; built-in skills (translation and output skills such as documents and slides) are labeled as built-in, and an official output coworker (for example a dashboard or document maker) does not list built-in skills whose output it cannot produce. If a personal skill and a coworker skill share a name, select the intended row in the palette. The message runs the selected skill by ID. An existing coworker chat uses its session’s pinned skill versions.

Where AI Coworkers are not enabled, Skills is in the sidebar. In Skills, open a personal skill to view or edit its instructions. For a versioned skill, open `skill-versions` to see the default and latest versions, use `skill-set-default-{version}` to change the default, or download a ZIP with `skill-download-version-{version}`; its `skill-delete` permanently deletes the skill and all its versions. If the skill has a status switch, use it to archive or restore the skill. An archived versioned skill (archived from chat) has no switch: restore it with `skill-restore` in its details or `skill-row-restore` in the list; until then its instructions and default version cannot be changed, and restoring fails with a reason if an active skill already uses its name or the active-skill limit is reached. System skills are read-only. In coworker settings, `{prefix}-skill-add-action` ("Add skills") opens one picker with two tabs: `{prefix}-skill-picker-tab-coworker` lists the coworker's own skills, and `{prefix}-skill-picker-tab-personal` lists your own skills. Select coworker skills and choose a specific version or the latest version. A saved change affects new sessions. On the new coworker page the picker shows only your own skills. Your own skills chosen there (not built-in skills or your profile skill) are copied to the coworker when you save or create it. A copy is independent of the original, so later edits to the original do not reach it. A chosen skill whose name a coworker skill already uses is marked and must be removed before saving. A selected skill that was deleted or archived shows as "Deleted or archived skill", and its version list says so (`{prefix}-skill-version-{skill_id}-missing`) instead of asking to reopen it; remove it from the list.

Where the personal profile is enabled, ask Studio chat to "build my profile" or pick the built-in my-profile-builder skill in the / palette. It reads your Studio workflows, collections, coworkers, schedules, and connections, plus your Slack activity and Google Calendar when they are connected, and may first ask for your team, role, or recurring work. It then saves "My profile" right away, without an approval card, and says what changed. To fix something, tell the chat what to change or ask it to update your profile. The saved profile appears in the "Memories" list at `https://studio.kr.upstage.ai/settings/memory` as a "Work fact" titled "My profile". Chat and the coworker builder use its recorded recurring work when memory usage is enabled.

Where Skills is enabled, the creation form keeps the model selector (`skill-graph-model`) above its submit actions. If generation asks follow-up questions, answer each `skill-clarification-answer` and use `skill-graph-generate` to continue; the initial `skill-save` button is hidden until those questions are cleared. The original instruction, questions and answers must fit within 20,000 characters; an inline error blocks continuation until shortened. Failed actions retain the form values. If the model list fails or is empty, use its reload action; generation stays disabled until a concrete model is available. During generation the form, Cancel, and back-to-list controls are disabled; the submit action keeps its label with a spinner. A warning at `skill-graph-unapplied` means saved details have not yet been applied to the execution graph; return to the details tab and apply them before reviewing and publishing.

### Connectors

- Connect apps at `https://studio.kr.upstage.ai/settings/connectors`: each app has a Connect button, `connected-apps-connect-{app}` or `pipeline-connector-connect-{id}`. Connecting opens the app's own sign-in in a popup, which the user must complete.
- When connections are disabled for the environment, the Connectors menu is hidden and the settings URL shows an availability notice.
- To use Notion's official MCP tools in Studio chat or a coworker, connect "Notion" (`{app}` is `notion`) and complete Notion sign-in. Pick "Notion" in the coworker's Apps picker to grant access. If you used the previous Notion REST connector, connect Notion again to use the MCP tools.
- Custom MCP servers (where enabled): the "Custom MCP" tab (`connectors-tab-custom`) on the same page. In an organization only its owner sees (without an organization, the user themself sees) `custom-mcp-add` ("Add MCP server") and the per-server "..." menu (`custom-mcp-menu-{id}`, with edit `custom-mcp-edit-{id}`). In the dialog (`custom-mcp-dialog`) fill `custom-mcp-name` and `custom-mcp-url` (the server's Streamable HTTP address, usually ending in `/mcp`; the older SSE transport is not supported, and an address ending in `/sse` shows the hint `custom-mcp-sse-url-notice`, which does not block saving because the path alone cannot prove the transport), then pick the authentication: `custom-mcp-auth-none`, `custom-mcp-auth-bearer` (shared default token, `custom-mcp-token`), or `custom-mcp-auth-oauth` ("OAuth sign-in"; edit uses `custom-mcp-server-auth-token` / `custom-mcp-server-auth-oauth`). OAuth servers have no token fields. Their optional "Advanced" section holds `custom-mcp-oauth-client-id`, `custom-mcp-oauth-client-secret` and `custom-mcp-oauth-scopes`; leave them empty unless the server does not support automatic client registration. Saved secrets are never shown, and changing the URL clears the saved client ID and secret. Submit with `custom-mcp-submit`.
- Each member connects their own account: `custom-mcp-connect-{id}` ("Connect" or "Add connection"). For an OAuth server it opens the server's own sign-in in a popup, which the user must complete; for token servers it opens a token dialog. The connection then appears under `custom-mcp-connected` (`custom-mcp-connection-{connection_id}`). If the sign-in expires, use "Add connection" again to reconnect, then remove the old one with `custom-mcp-disconnect-{connection_id}`. OAuth connections have no token button.
- Give a coworker access in its Connectors section: open the Apps picker (`ai-coworker-connection-picker-connector`), tick `ai-coworker-connection-picker-dialog-connector-option-{app}`, then Apply.
- With the Gmail connector, a coworker can create user labels and add or remove them on messages or threads while preserving read status.
- A coworker gets a connected app as a whole. There is no picker for a specific folder, spreadsheet, or mail label in the coworker settings, so name it in the work instructions (its name, URL, or ID) or in the chat. The folder or mailbox chosen for a trigger only decides what the trigger watches.

### Artifact editor app bar

- Every artifact editor (documents, dashboards, spreadsheets, slides, Word and Hangul files) lists its app bar actions in one order: save state, undo, redo and Save while editing, then find, version history, comments, AI edit and share, then actions only that format has (Present for slides). A format without one of these simply leaves it out. Share is disabled while an edit is unsaved. Download, the "..." menu and close are in the viewer bar above the editor.

### Share a spreadsheet

- Where spreadsheet artifacts are enabled, the Excel file editor's app bar has a share button (`spreadsheet-share-open`); it is disabled while an edit is unsaved. It sets who can open the link (only invited people, the organization, or anyone with the link) and whether they view or comment, then copies the link. The link always shows the latest saved revision.
- The shared page (`spreadsheet-shared-viewer`) is read-only. It shows only visible sheets: hidden sheets, very hidden sheets and chart sheets are left out, and cells show values without formulas. Its Download menu offers the .xlsx (the stored Excel file, including hidden sheets) only when the organization allows file downloads.
- "Version history" (`spreadsheet-history`) lists the saved versions, newest first. The oldest entry is "AI created" for a file made in chat, or "Original" for an uploaded file; later entries are numbered, such as "AI edit 1" and "Manual edit 2". It is disabled while an edit is unsaved or when there is only one version. Only the latest version can be edited. Where the editor is enabled, an older version opens with a note that it is not the latest, and "Restore this version" (`spreadsheet-restore`) there saves it as the latest after a confirmation; every version so far stays in the history.
- Comments belong to a sheet (`spreadsheet-sheet-comments`): pick the sheet tab, then write the comment. A renamed sheet keeps its comments. Comments whose sheet was deleted or hidden stay listed under "Location not found" (`spreadsheet-unplaced-comments`) instead of disappearing.

### Share a saved HTML screen

- Where HTML artifacts are enabled, a saved HTML screen opens in a side panel whose toolbar has "Share" (`html-artifact-share-open`). It sets who can open the link (only invited people, the organization, or anyone with the link) and whether they view or comment, then copies the link. The link always shows the latest saved revision; an attached .html file cannot be shared this way.
- The shared page shows the screen in a sandboxed frame (`shared-html-frame`) under a note that it is user-made content (`shared-html-user-content`). The same restrictions as the chat preview apply: scripts, forms, links and external resources (remote images, fonts, stylesheets) are removed or blocked, so make screens self-contained.
- Comments are on the whole screen, not on a part of it. HTML screens are shared by link only: they cannot be downloaded or exported as .html or PDF, by the owner either, and the chat side panel has no download button for them.
- A copied conversation (branch) keeps the screen and its comments but starts unshared.

### Approvals

- A coworker asks for approval before actions that change something: sending mail or messages, writing to a connected app, running a workflow, creating schedules or triggers, and changing a coworker. Reading usually does not ask.
- Read the target and the values shown in the approval card before approving. If the card does not make clear which file or record is changed, ask the user instead of approving.
- Cards for sending an email or a Slack or Teams message have a copy button on the message, for people who would rather paste it themselves. On a new Slack message (not a thread reply) or a new Teams chat or channel message, the destination box (`connector-destination-change`) opens a search to pick another Slack channel or person, Teams chat, or Teams channel (a chat message stays in chats and a channel message in channels); the destination is checked again with the sending account before anything is sent. Email recipients (To, Cc, Bcc) show as removable chips (`connector-email-recipient-field`); typing there suggests people the account recently emailed, and only valid addresses are added. The Slack message shows rendered and is edited right there in that rendered form (no markdown); the edit is sent as markdown. An email or Teams message in simple HTML (text formatting, lists, links; no styles, tables, or images) is edited the same way and sent as HTML; richer HTML stays preview-only.
- The chat's run mode can be "Ask for permissions", "Auto", or "Skip permissions". Do not switch it to skip approvals unless the user asks you to.
- A scheduled task runs with nobody watching. When one of its runs asks for approval, the owner gets a "Your input is needed" notification that opens the run's conversation. If nobody approves within the wait (10 minutes for a connected-app action), that action does not run and the run is shown as "Needs approval" in the run history (it does not count toward the failures that turn a task off). The card can still be answered later in that conversation; once a turn there finishes with no unanswered card left, the run is shown as completed.

### Share an edited Word document

Where documents are enabled, the document skill (`/문서`) also edits an uploaded .docx in place, keeping its formatting; there is no separate Word skill. The edited file opens in a side panel. Its app bar has a share icon button (`docx-share-open`, disabled while an edit is unsaved): choose who can open the link ("Only people invited", an organization, or "Anyone with the link") and whether link visitors may view or comment, then copy the link. The owner keeps editing through chat; nobody else can edit.

- The shared link shows the document's text as a reading view (headings, paragraphs, lists and tables), not the file. Images, character formatting and page layout are only in the Word file. Downloading it follows the organization's download setting; when downloads are off, visitors can still read the text.
- Comments open in the side panel (`docx-shared-comments`). A comment is on the whole document or on one paragraph of the body or a table cell: search with `docx-shared-paragraph-search` and pick one of `docx-shared-paragraph-option`. Headers, footers and footnotes cannot be commented on.
- After the document changes, comments follow their paragraph. A comment whose paragraph was removed is kept under "Location not found" (`docx-shared-lost-comments`) with its original quote.
- Comments saved inside the Word file are separate: they stay in the downloaded file and are not shown in the panel.
- A copied conversation (branch) keeps the document and its comments but starts unshared.

### Coworker Public Library

When package publication is available, open Publish from the coworker's menu. An organization Owner chooses a saved version and its workflows, files, and collections, then reviews the public scope. The dialog keeps the version and current step inside one card, including loading, errors, and recovery. A single version stays visible; multiple versions can be selected. Recovery shows the version as unavailable because the current default may differ from the saved request. Existing publications are labeled separately. Collections can include their documents. Underlined workflow, file, and collection names, including items excluded from publication, open their own page in a new tab without changing the selection. Publication restrictions do not imply that the resource cannot be viewed; its page still checks read access. Collection links use the collection's actual project. File links use `/files?file=<ID>` to open the file list's preview panel after checking sign-in, the Files feature, and read access; opening a link does not download it. The scope review separates shared items from notices and groups affected materials under each reason once, without internal IDs or error codes. It also shows any schedules that will be shared. An Export pointing to an existing collection outside the package, or a circular Export dependency, disables publication until the connection is fixed. Materials excluded for insufficient sharing permission remain visible as notices and do not by themselves block publication. A Studio administrator approves the package before it appears in the Public Library. If the publication request's result could not be confirmed, reopen Publish and choose "Try again" to retry the same request, or "Cancel request" to cancel it before choosing new materials. "Close" only dismisses the dialog. If the request can no longer continue, cancel it and make a new request. Hiring an approved package copies its selected resources into your personal space. Studio applies the avatar and opted-in schedules after the copy finishes, including when you leave the page. To check progress, reopen the same entry in any tab and choose Hire again.

### Coworker memory

A coworker can save rules from earlier conversations ("Preference", "Correction", "Naming rule", "Don't", "Decision", "Work fact", "Template or reference file") and apply them later, which changes its output without any visible instruction. Where memory is enabled, check one coworker's memories from its "..." menu (`coworker-memory-menu-item`, read only), or all of them at `https://studio.kr.upstage.ai/settings/memory`, where they can be edited or deleted. The top of that page has two "Memory use" switches: "Use saved memories" (`memory-preference-injectionEnabled`) decides whether saved memories are referred to when answering, and "Save new memories" (`memory-preference-autoSaveEnabled`) decides whether new ones are saved from conversations. Turning either off does not delete saved memories. Do not change them unless the user asks. Below them the page shows one "Memories" list, newest first, 10 to a page with Previous and Next buttons (`memory-list-pagination-previous`, `memory-list-pagination-next`), so a memory missing from the first page may be on a later one. A very long list is cut short with a note (`memory-list-truncated`): pinned and recently used memories come first and older ones are not listed. Each row names its source: a coworker's name and avatar for memories from that coworker ("Only me" or a "Team" badge), "Chat" for memories saved in Studio chat, or "Personal" for older personal memories. Memories "Only for me" belong to the signed-in user: you cannot see what a coworker remembers only for other people. Where team memory is enabled, both places also show "Team memory": rules that apply to everyone who uses that coworker, which only its owners can edit or delete. On the settings page, a team memory row has "Manage" for owners (snapshot lock, pending approvals, and restoring from the history) or "History" for everyone else; owners also see a notice above the list when team memories are waiting for approval. When an owner asks a coworker to remember something without saying where, it may ask whether to keep it for "Only me", the "Whole team", or the "Profile". The list does not show which conversation saved a memory. If a coworker follows a rule you cannot find in its instructions, check there.

## More

Not covered here yet: creating projects and managing their members, publishing a workflow to the library, publishing a skill, and organization, billing, and administrator settings. Ask the user before changing those.

- API reference: https://console.upstage.ai/docs/agents
- This file: https://studio.kr.upstage.ai/llms.txt
