API reference
Read a summary
const url = 'https://api.helping.io/v1/compactions/example';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.helping.io/v1/compactions/example \ --header 'Authorization: Bearer <token>'The summary a cmp_ id names, as the model reads it in place of the turns
it covers.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The cmp_... id of a compaction item, as helpingio:context_omissions names it too
Responses
Section titled “Responses”The summary, the model that wrote it and when.
A conversation’s summary, as the model now reads it in place of the turns it covers.
object
When the summary was written.
The cmp_ id the compaction item and the receipt name.
The model that wrote it.
Always compaction.
The summary’s text.
Examplegenerated
{ "created_at": 1, "id": "example", "model": "example", "object": "example", "summary": "example"}Missing or invalid API key (the error envelope)
The key is not entitled to what the request asked for (the error envelope)
No such summary, one removed with its conversation or a source, or one this key cannot reach.
The request could not be completed; quote the x-request-id response header when reporting it.
The request could not be served this instant; retry after the Retry-After header.