sdkDeterministic

List prospect activities

pipeline.listProspectActivities

Read activity with trusted actor provenance. Default 50, max 100.

Parameters

workspaceId
string
No description.
prospectIdrequired
string
No description.
cursor
string
No description.
limit
number
No description.

Example

TypeScripttypescript
await pipeline.listProspectActivities({
"prospectId": "00000000-0000-4000-8000-000000000000"
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"activities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"prospectId": {
"type": "string"
},
"activityType": {
"type": "string"
},
"title": {
"type": "string"
},
"actor": {
"type": "string"
},
"body": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": [
"string",
"null"
]
},
"metadata": {
"type": "object"
}
},
"required": [
"id",
"workspaceId",
"prospectId",
"activityType",
"title",
"actor",
"createdAt"
]
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"activities",
"nextCursor"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline