Skip to content
Docs
GitHub

Grants

Preview

Manage organizations, members, end users, invitations and connected identities.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/resources/{id}/grants

See authentication for credentials and permissions.

id
required
string format: uuid

Resource ID

Responses

200Explicit access grants

Explicit access grants

Media typeapplication/json
Array<object>

Metadata for an explicit resource use grant, without credential values.

object
constraints
One of:
One of:
object
permissions
required
object
key
additional properties
string
provider
required
string
Allowed values: github
repositories
required
Array<string>
consumer_id

Consumer identifier; absent for an organization-wide service grant.

string | null format: uuid
consumer_label

Human-readable consumer name, when available.

string | null
consumer_scope
required

Scope of the consumer authorized by this grant.

string
Allowed values: session agent virtual_user organization
expires_at

Absolute grant expiry in UTC, if configured.

string | null format: date-time
id
required

Stable grant identifier used for revocation.

string format: uuid
usage
required

Required invocation identity for use through this grant.

string
Allowed values: user service

Example

[
{
"constraints": {
"provider": "github"
},
"consumer_scope": "session",
"usage": "user"
}
]