v1
latestOpenAPI 3.1.02026-07-13250151.3 KBevidence
Link and/or unlink evidence items to/from an intent. Dual-writes the intent_spec_evidence join table and the linked_intent_ids array on evidence_items.
evidenceIds in the response is re-fetched from intent_spec_evidence after applying link/unlink, so it reflects ALL currently-linked evidence (not just what was changed). link/unlink counts only increment for IDs that exist in the workspace. Cookie-session auth requires ?workspace_id= and a workspace membership.
post/api/v1/intents/{id}/evidence
Path parameters
idstring required
id path parameter.
Request body
Response
Link/unlink applied; returns counts and the intent's full current evidence ID list
object required