Get Activity
GET
/api/canvas/{deal_id}/activity
const url = 'https://example.com/api/canvas/example/activity?limit=50&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/canvas/example/activity?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Get the unified activity feed for a deal.
Query params: user_id: Optional filter — only events by this user. section_key: Optional filter — only events for this section. event_types: Optional comma-separated filter — only events of these types. date_from: Optional ISO 8601 lower bound (inclusive). date_to: Optional ISO 8601 upper bound (inclusive). limit: Max entries (default 50). offset: Pagination offset (default 0).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deal_id
required
Deal Id
string
Query Parameters
Section titled “Query Parameters ” user_id
User Id
string
section_key
Section Key
string
event_types
date_from
date_to
limit
Limit
integer
offset
Offset
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}