admin

Generate Intents

Generate intent-to-action mappings for a capture using vision LLM.

This endpoint:

  1. Fetches the capture data (screenshot + DOM)
  2. Sends to GPT-4o with vision capabilities
  3. Returns structured intent mappings
post/api/admin/captures/{capture_id}/generate-intents

Path parameters

capture_idstring required

Headers

authorizationstring required

Response

Successful Response

page_purposestring required
element_labelsobject required
warningsstring[] required
questions_for_humanstring[] required

Changes

No recorded changes to this endpoint across all 3 revisions of this API.