Returns a paginated, enriched list of the account's evidence linked to an idea: assigned (validated, linked by ideaId) or waiting in an idea's inbox (inReview, linked by gtmIdeaId). Declined evidence is returned only when status asks for it; unassigned evidence is listed by /v2/suggested-evidences. Supports page/pageSize, sorting, and filtering by evidence id, component, owner, idea, account/org, origin, origin id, business name, creation and update date ranges, and lifecycle state.
Which states to return, comma-separated or repeated. Defaults to validated and inReview. declined returns declined evidence and cannot be combined with ideaId/ideaIds (a 400), since declined evidence is not linked to an idea. Any other value, including unassigned, is a 400.
- https://api.bagel.aihttps://api.bagel.ai/v2/evidences
curl -i -X GET \
'https://api.bagel.ai/v2/evidences?page=1&pageSize=500&sortBy=createdAt&sortDir=asc&ids=5f8d0d55b54764421b7156c3%2C5f8d0d55b54764421b7156c4&componentId=string&ownerId=string&ideaId=string&ideaIds=string&orgId=string&origin=salesforce&originIds=SFOpporunityId-123%2CSFOpporunityId-456&businessName=string&createdAtStart=2024-12-01T00%3A00%3A00.000Z&createdAtEnd=2024-12-26T00%3A00%3A00.000Z&updatedAtStart=2024-12-01T00%3A00%3A00.000Z&updatedAtEnd=2024-12-26T00%3A00%3A00.000Z&status=inReview' \
-H 'authorization: YOUR_API_KEY_HERE'{ "total": 1234, "hasMore": true, "items": [ { … }, { … } ] }