Skip to content

installs_pending

GET
/consent/{request}
curl --request GET \
--url https://api.canopyhq.dev/consent/example \
--header 'Authorization: Bearer <token>'
request
required

One proposal. Minted per POST, so two proposals of one document are two requests, each with its own secret and its own key.

string

The request the proposal was minted under.

What the vendor proposes, and for an update the currently installed document it replaces.

Media typeapplication/json

The proposed document, with the currently installed document for an update.

object
description
required
string
name
required
string
tools
required
Array<object>
object
description
required
string
input_schema
required
name
required
string
output_schema
required
result_limit
One of:
null
timeout
string | null
appdoc
required

The vendor document version, read through the same shape chain as storage.

integer format: int32
current
One of:
null
Example
{
"current": {
"tenant": {
"policies": [
{
"items": [
{
"effect": "allow",
"op": "is"
}
],
"posture": "permissive"
}
]
}
}
}

No console token, or one that did not verify.

No such request, or it lapsed or was granted already.