Answers

Get one AI response

Changed on

Full answer with mentions, citations, sentiments, sources, shopping_products, brand_entities, fan_out_queries. sentiments need the Growth plan or above and shopping_products the Scale plan or above; below those plans each is left out and listed in plan_required_fields, which is always present and empty when nothing is left out. Pass include_source_page_details=true to nest page-cache metadata under each source.

get/answers/{id}

Request

  • Base URL
    https://api.llmpulse.ai/api/v1
  • Auth
    API key in header Authorization

Path parameters

idinteger required

Query parameters

project_idinteger required

Project ID

include_source_page_detailsboolean

Response

Answer details

idinteger
prompt_idinteger
prompt_textstring
modelstring
responsestring nullable
response_truncatedboolean
executed_atstring date-time nullable
duration_msnumber nullable

Milliseconds, rounded to one decimal place

successboolean nullable

Null while the answer is still pending

no_resultboolean

True for a sentinel non-answer (no answer could be collected after all retries, or the model declined to answer, today only Gemini); excluded from platform metrics

fan_out_queriesstring[] nullable
mentionsobject[]
citationsobject[]
competitor_mentionsobject[]
competitor_citationsobject[]
sentimentsobject[]

Needs the Growth plan or above; left out below it and named in plan_required_fields

sourcesobject[]
shopping_productsobject[]

Needs the Scale plan or above; left out below it and named in plan_required_fields

brand_entitiesobject[]
local_businessesobject[]
plan_required_fieldsstring[] required

The fields left out of this answer because the account's plan does not include them (sentiments below Growth, shopping_products below Scale). Always present, empty when nothing is left out

app_urlstring uri

Opens this answer in the app. The link names its project, so it opens there for any user with access to that project

request_idstring

Changes