Skip to content
Navigation

Continue a thread in a shared space

Forks the thread into a space so colleagues can join it (P3-D7). A thread never changes container: this starts a NEW thread in the target, seeded with the source thread’s conversation tail (≤4 KiB) and its title, and leaves a one-way pointer on both sides. Files are NEVER carried over — promoting them stays the explicit keep / move_files path. Body: either { spaceId } for an existing space, or { spaceTypeId, title } to create one (the creator is granted space-contributor on it). Authorization: the caller must be able to contribute to the source thread’s container AND to the target — 404 hides either; creating a space requires spacetype:contribute on the parent (403). A desk is never a valid target (400 cannot_target_desk). Gated by AGENTS_ENABLED.

POST
https://api.cloudraker.com/me/threads/{threadId}/share
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • threadId
    string
    required

Request body JSON required

Any of the following:

  • object
    • spaceId
      string
      required
      minLength: 1
  • object
    • spaceTypeId
      string
      required
      maxLength: 40 · minLength: 1
    • title
      string
      required
      maxLength: 120 · minLength: 1

Returns

201

The new thread in the target space.

JSON
  • threadId
    string
    required
  • runId
    string
    required
  • steered
    boolean
    required
  • status
    string
    required
  • spaceId
    string
    required
  • sharedFromThreadId
    string
    required

    The thread this one continues.

400

cannot_target_desk — a desk is never a share target.

403

The caller may not create a space under that space type.

404

Agents disabled, unknown thread, or the target is not contributable.

Type to search…

↑↓ navigate↵ selectEsc close