Get a share owned by the caller
curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"type": "conversation",
"context_id": "<string>",
"message_id": "<string>",
"agent_id": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"snapshot": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Shares
Get a share owned by the caller
GET
/
v1
/
shares
/
{shareId}
Get a share owned by the caller
curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares/{shareId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"type": "conversation",
"context_id": "<string>",
"message_id": "<string>",
"agent_id": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"snapshot": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
BearerAuthOrgApiKeyAuth
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Path Parameters
Maximum string length:
128Response
Share record (owner view).
Share record (owner view).
Available options:
conversation, message, artifact The frozen snapshot - for conversation/message shares this
includes messages, artifacts, agent_name, agent_icon_url.
For artifact shares it carries content, artifact_type,
mime_type, version, access_level.
Related topics
Delete a share owned by the callerList artifacts owned by the callerList shares created by the callerDelete all conversations for the caller on this agentResolve a citation link (lazy)Was this page helpful?