Skip to main content
POST
Create a share link

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

thread_id
string<uuid>
required

Body

application/json

Make a share link for a thread.

include_tool_results
boolean
default:false

Show tool results to viewers. They were fetched with your permissions, so they are hidden unless you opt in.

Response

Successful Response

A read-only link to a thread as it was when the link was made.

id
string
required

The token in the link: /chat/shared/{id}.

thread_id
string
required

The shared thread.

created_by
string
required

Who made the link.

created_at
string<date-time>
required

When the link was made.

include_tool_results
boolean
required

Whether viewers see tool results, or only that tools ran.