---
title: "Send a message in your private chat with an agent"
method: POST
path: "/v1/personal-agents/{id}/standing-chat"
tags: ["Agents"]
---

# Send a message in your private chat with an agent

`POST /v1/personal-agents/{id}/standing-chat`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/personal-agents/{id}/standing-chat`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Starts a turn in the signed-in member's private chat with the agent, or returns the existing turn for the same clientMessageId. Pass a unique clientMessageId and message, then read the reply with getPersonalAgentStandingChat until the turn finishes.

## Path parameters

- `id` string, required

## Request body

- object
  - `clientMessageId` string, required
  - `message` string, required
  - `references` ConversationReference[]
    - `key` string, required
    - `title` string, required
    - `computerId` string, nullable, required
    - `computerLabel` string, nullable, required
    - `workspaceId` string, nullable, required
    - `workspaceName` string, nullable, required
    - `sessionId` string, nullable, required
    - `commandId` string, nullable, required
    - `reach` 'reachable' | 'connecting' | 'attachable', required
  - `handBack` boolean: True when the person had control of the agent's browser or computer: the agent gets it back before this turn starts.

## Response `202`

Turn accepted or returned from an earlier request.

- object
  - `turn` object, required
    - `id` string, required
    - `clientMessageId` string, required
    - `message` string, required
    - `references` ConversationReference[]
      - `key` string, required
      - `title` string, required
      - `computerId` string, nullable, required
      - `computerLabel` string, nullable, required
      - `workspaceId` string, nullable, required
      - `workspaceName` string, nullable, required
      - `sessionId` string, nullable, required
      - `commandId` string, nullable, required
      - `reach` 'reachable' | 'connecting' | 'attachable', required
    - `status` 'running' | 'succeeded' | 'failed', required
    - `reply` string, nullable, required
    - `parts` union[]
      - union
        - object
          - `type` 'text', required
          - `text` string, required
        - object
          - `type` 'reasoning', required
          - `text` string, required
          - `durationMs` integer
        - object
          - `type` 'tool', required
          - `id` string, required
          - `name` string, required
          - `status` string, nullable, required
          - `title` string
          - `input` string, nullable, required
          - `output` string, nullable, required
          - `error` string, nullable, required
          - `truncated` boolean, required
    - `outputs` object[]
      - `id` string, required
      - `name` string, required
      - `mediaType` string, required
      - `size` integer, required
      - `updatedAt` integer
    - `desktop` object
      - `views` string[], required
      - `status` 'working' | 'completed' | 'failed', required
      - `summary` string
      - `pages` object[]
        - `id` string, required
        - `url` string, required
        - `title` string, required
      - `reason` string
    - `error` string, nullable, required
    - `createdAt` string, date-time, required
    - `finishedAt` string, date-time, nullable, required

## Other responses

- `400`: Invalid message.
- `404`: Not found.
- `409`: Agent unavailable, chat busy, or message key already used.

## Changes

- **2026-12-03** `fad483b42880`: 1 info
  - added the new optional request property `handBack`
- **2026-12-02** `1c1cd9580c18`: 2 info
  - added the optional property `turn/desktop` to the response with the `202` status
  - added the optional property `turn/outputs` to the response with the `202` status
- **2026-12-01** `a641cc63ad9e`: 2 info
  - added the new optional request property `references`
  - added the optional property `turn/references` to the response with the `202` status
- **2026-11-27** `86c3582941ac`: 1 info
  - added the optional property `turn/parts` to the response with the `202` status
- **2026-11-26** `b55d1864549e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/personal-agents/:id/standing-chat/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
