List shares created by the caller
curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"type": "conversation",
"context_id": "<string>",
"message_id": "<string>",
"artifact_id": "<string>",
"agent_id": "<string>",
"title": "<string>",
"agent_name": "<string>",
"artifact_type": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Shares
List shares created by the caller
GET
/
v1
/
shares
List shares created by the caller
curl --request GET \
--url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/shares', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"type": "conversation",
"context_id": "<string>",
"message_id": "<string>",
"artifact_id": "<string>",
"agent_id": "<string>",
"title": "<string>",
"agent_name": "<string>",
"artifact_type": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"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).
Query Parameters
Available options:
conversation, message, artifact Maximum string length:
32Maximum string length:
64Page size (default 20).
Response
Page of shares.
Hide child attributes
Hide child attributes
Available options:
conversation, message, artifact Workspace-relative public viewer URL.
Related topics
Get a share owned by the callerDelete a share owned by the callerSharePointPublic-facing share viewer (auth-required)List artifacts owned by the callerWas this page helpful?