Skip to content
Get an API key

API reference

Read a summary

GET
/v1/compactions/{compaction_id}
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.

compaction_id
required
string

The cmp_... id of a compaction item, as helpingio:context_omissions names it too

The summary, the model that wrote it and when.

Media typeapplication/json

A conversation’s summary, as the model now reads it in place of the turns it covers.

object
created_at
required

When the summary was written.

integer format: int64
id
required

The cmp_ id the compaction item and the receipt name.

string
model
required

The model that wrote it.

string
object
required

Always compaction.

string
summary
required

The summary’s text.

string
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.