List prompt runs
Changed onRetrieve a list of runs for a specific prompt in the Answer Engine Visibility API. This endpoint allows you to filter runs based on creation dates and paginate through results. Useful for tracking the execution history of a specific prompt.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/marketing/aeo/2027-03-beta/prompts/{promptId}/runs
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketing.aeo.write
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketing.aeo.read
Path parameters
Query parameters
The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.
The maximum number of results to display per page.
Response
successful operation
Changes
- info
the security scope
marketing.aeo.writewas added to the endpoint's security schemeoauth2 - info
the security scope
marketing.aeo.readwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
marketing.aeo.writewas added to the endpoint's security schemeoauth2 - info
the security scope
marketing.aeo.readwas removed from the endpoint's security schemeoauth2
- info