Skip to main content

GrantAbility

A typed grant ability: a resource path plus the access type it grants.

path object[]required

Possible values: >= 1

  • Array [
  • resourcestringrequired

    Possible values: [access-token, ai-model, client-contract, cluster, collection, connector, dataset, endpoint, entry, file, workflow, grant, invoice, job, license, mcp-config, node, organization, provider, rate-catalog-entry, role, source, stripe, tag, user]

    resourceId objectrequired

    A positive integer id, or the wildcard "*" covering every resource of this type.

    oneOf
    integer

    Possible values: >= 1

  • ]
  • accessTypestringrequired

    Possible values: [read, write]

    GrantAbility
    {
    "path": [
    {
    "resource": "access-token",
    "resourceId": 0
    }
    ],
    "accessType": "read"
    }