How the last completed reply's context was composed
GET
/conversation/prompt-diagnostics
const url = 'https://api.harperharbor.com/open/v1/conversation/prompt-diagnostics?conversationId=example&breakdownVersion=2';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.harperharbor.com/open/v1/conversation/prompt-diagnostics?conversationId=example&breakdownVersion=2' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”conversationId
required
string
breakdownVersion
integer
Responses
Section titled “Responses”Estimated token buckets