Skip to content

The install ends one of its own sessions. The archive record lands through the driver like any other; nothing lands after it.

POST
/sessions/{id}/archive
curl --request POST \
--url https://api.canopyhq.dev/sessions/000000000000000000000000000000000000000000000000000000000000000000000000/archive \
--header 'Authorization: Bearer <token>'
id
required

A stream id: 72 hex chars, the shard then the owner digest.

string

The session to end.

The archive record landed; nothing lands on the session again.

No install key, or one no install answers.

No such session under this install.

The session was already archived.