Skip to content

A token for the executor the dial named: it reads the session and the mail addressed to it, and lands nothing itself. What it performs it claims first, and completes under the grant the claim hands back.

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

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

string

The session whose executor to mint for.

A token for the session’s executor.

Media typeapplication/json
object
expires
required
integer format: int64
session
required

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

string
token
required
string
Example
{
"session": "000000000000000000000000000000000000000000000000000000000000000000000000"
}

No install key, or one no install answers.

No such session under this caller.

The dial named no executor.