Download OpenAPI specification:Download
| id required | string |
| name required | string |
| type required | string Enum: "organization" "workspace" "application" |
| parentId | string |
| description | string |
| inheritParent | boolean |
| allowRoleInheritance | boolean |
| accessScopeId | string |
{- "id": "string",
- "name": "string",
- "type": "organization"
}{- "id": "string",
- "name": "string",
- "type": "organization"
}| scopeId required | string Scope ID |
| id required | string |
| name | string |
| description | string |
| type | string Enum: "organization" "workspace" "application" |
| parentId | string |
| allowRoleInheritance | boolean |
{- "id": "string"
}{- "id": "string",
- "name": "string",
- "type": "organization"
}| scopeId required | string Scope ID |
| newParentScopeId required | string |
{- "newParentScopeId": "string"
}{- "id": "string",
- "name": "string",
- "type": "organization"
}Applies a declarative authorization manifest (permissions, roles, access policies) to a scope. Supports idempotent apply via idempotencyKey.
| scopeId required | string Scope ID |
required | object |
| serialization | string Enum: "json" "yaml" |
{- "manifest": {
- "apiVersion": "string",
- "kind": "example",
- "spec": {
- "mode": "example",
- "deletionPolicy": "example",
- "permissions": [
- "example"
], - "roles": [
- "example"
], - "accessPolicies": [
- "example"
]
}
}
}{- "error": "string",
- "message": "string",
- "statusCode": 0,
- "field": "string"
}| scopeId required | string Scope ID |
| id required | string |
| scopeId required | string |
| resource required | string |
| action required | string |
| effect required | string Enum: "allow" "deny" |
| name required | string |
| description | string |
object or object or object or object |
{- "id": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "effect": "allow",
- "name": "string"
}{- "id": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "effect": "allow",
- "name": "string"
}| scopeId required | string Scope ID |
| limit | number Maximum items per page |
| nextToken | string Pagination cursor |
{- "id": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "effect": "allow",
- "name": "string"
}| scopeId required | string Scope ID |
| id required | string Permission ID |
{- "id": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "effect": "allow",
- "name": "string"
}| scopeId required | string Scope ID |
| id required | string Permission ID |
| resource | string |
| action | string |
| effect | string Enum: "allow" "deny" |
| name | string |
| description | string |
object or object or object or object |
{ }{- "id": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "effect": "allow",
- "name": "string"
}| scopeId required | string Scope ID |
| id required | string |
| scopeId required | string |
| name required | string |
| description | string |
| permissionIds required | Array of strings |
| parentRoleId | string |
{- "id": "string",
- "scopeId": "string",
- "name": "string",
- "permissionIds": [
- "example"
]
}{- "id": "string",
- "name": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- "example"
]
}| scopeId required | string Scope ID |
| limit | number Maximum items per page |
| nextToken | string Pagination cursor |
{- "id": "string",
- "name": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- "example"
]
}| scopeId required | string Scope ID |
| id required | string Role ID |
{- "id": "string",
- "name": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- "example"
]
}| scopeId required | string Scope ID |
| id required | string Role ID |
| name required | string |
| description | string |
| permissionIds required | Array of strings |
| parentRoleId | string |
{- "name": "string",
- "permissionIds": [
- "example"
]
}{- "id": "string",
- "name": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- "example"
]
}| targetScopeId required | string Target scope ID |
| templateRoleId required | string Source role ID |
{- "id": "string",
- "name": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "permissions": [
- "example"
]
}| scopeId required | string Scope ID |
| subjectId required | string |
| scopeId required | string |
| roleIds | Array of strings |
| permissionIds | Array of strings |
| subjectType | string Enum: "user" "api-key" |
| expiresAt | string |
| validFrom | string |
{- "subjectId": "string",
- "scopeId": "string"
}{- "id": "string",
- "subjectId": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "roles": [
- "example"
]
}| scopeId required | string Scope ID |
| limit | number Maximum items per page |
| nextToken | string Pagination cursor |
{- "id": "string",
- "subjectId": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "roles": [
- "example"
]
}| scopeId required | string Scope ID |
| id required | string Policy ID (subjectId) |
{- "id": "string",
- "subjectId": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "roles": [
- "example"
]
}| scopeId required | string Scope ID |
| id required | string Policy ID (subjectId) |
| roleIds | Array of strings |
| expiresAt | string |
| validFrom | string |
{ }{- "id": "string",
- "subjectId": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "roles": [
- "example"
]
}| scopeId required | string Scope ID |
| subjectId required | string Subject ID |
{- "id": "string",
- "subjectId": "string",
- "scope": {
- "id": "string",
- "name": "string"
}, - "roles": [
- "example"
]
}Creates a new API key. The raw key is returned ONCE — store it securely.
| scopeId required | string Scope ID |
| name required | string |
| type | string Enum: "management" "application" |
| expiresAt | string |
object | |
| permissions | Array of strings |
| roles | Array of strings |
| rateLimit | number |
| autoRotationEnabled | boolean |
| autoRotationIntervalDays | number |
| autoRotationOverlapDays | number |
{- "name": "string"
}{- "keyId": "string",
- "type": "management",
- "maskedKey": "string",
- "createdAt": "string",
- "subjectId": "string",
- "name": "string",
- "rawKey": "string"
}| scopeId required | string Scope ID |
| limit | number Maximum items per page |
| nextToken | string Pagination cursor |
{- "keyId": "string",
- "type": "management",
- "maskedKey": "string",
- "createdAt": "string",
- "subjectId": "string",
- "name": "string"
}| scopeId required | string Scope ID |
| keyId required | string API key ID |
{- "keyId": "string",
- "type": "management",
- "maskedKey": "string",
- "createdAt": "string",
- "subjectId": "string",
- "name": "string"
}Creates a new key and keeps the old key valid for a configurable overlap period.
| scopeId required | string Scope ID |
| keyId required | string API key ID |
| overlapDays | number |
{ }{- "keyId": "string",
- "maskedKey": "string",
- "rawKey": "string",
- "name": "string",
- "oldKeyId": "string"
}Reveals the raw key from the most recent rotation within the overlap window.
| scopeId required | string Scope ID |
| keyId required | string API key ID |
{- "keyId": "string",
- "apiKey": "string"
}| scopeId required | string Scope ID |
| keyId required | string API key ID |
| enabled required | boolean |
| intervalDays | number |
| overlapDays | number |
{- "enabled": true
}{- "keyId": "string",
- "type": "management",
- "maskedKey": "string",
- "createdAt": "string",
- "subjectId": "string",
- "name": "string"
}| scopeId required | string Scope ID |
| id required | string |
| name required | string |
| description | string |
{- "id": "string",
- "name": "string"
}{- "id": "string",
- "scopeId": "string",
- "name": "string",
- "createdAt": "string"
}| scopeId required | string Scope ID |
| id | string |
| url required | string |
| events required | Array of strings |
| active | boolean |
| name | string |
| description | string |
{- "url": "string",
- "events": [
- "example"
]
}{- "id": "string",
- "scopeId": "string",
- "url": "string",
- "events": [
- "example"
], - "active": true,
- "createdAt": "string",
- "secret": "string"
}| scopeId required | string Scope ID |
{- "id": "string",
- "scopeId": "string",
- "url": "string",
- "events": [
- "example"
], - "active": true,
- "createdAt": "string"
}| scopeId required | string Scope ID |
| endpointId required | string Endpoint ID |
{- "id": "string",
- "scopeId": "string",
- "url": "string",
- "events": [
- "example"
], - "active": true,
- "createdAt": "string"
}| scopeId required | string Scope ID |
| endpointId required | string Endpoint ID |
| url | string |
| events | Array of strings |
| active | boolean |
| name | string |
| description | string |
{ }{- "id": "string",
- "scopeId": "string",
- "url": "string",
- "events": [
- "example"
], - "active": true,
- "createdAt": "string"
}| scopeId required | string Scope ID |
| endpointId required | string Endpoint ID |
{- "error": "string",
- "message": "string",
- "statusCode": 0,
- "field": "string"
}| scopeId required | string Scope ID |
| endpointId required | string Endpoint ID |
{- "id": "string",
- "endpointId": "string",
- "scopeId": "string",
- "url": "string",
- "eventType": "string",
- "success": true,
- "httpStatus": "example",
- "durationMs": 0,
- "attempts": 0,
- "deliveredAt": "string"
}| scopeId required | string Scope ID |
| endpointId required | string Endpoint ID |
| id required | string Delivery ID |
{- "error": "string",
- "message": "string",
- "statusCode": 0,
- "field": "string"
}Checks whether a subject has permission to perform an action on a resource.
| subjectId required | string |
| scopeId required | string |
| resource required | string |
| resourceId | string |
| action required | string |
object | |
| includeReason | boolean |
{- "subjectId": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string"
}{- "subjectId": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "allowed": true
}Checks whether the authenticated API key has permission to perform an action on a resource within the given scope. The subject is the key itself; scopeId is required and must be within the key hierarchy.
| scopeId required | string |
| resource required | string |
| resourceId | string |
| action required | string |
object | |
| includeReason | boolean |
{- "scopeId": "string",
- "resource": "orders",
- "action": "find-by-id"
}{- "subjectId": "string",
- "scopeId": "string",
- "resource": "string",
- "action": "string",
- "allowed": true
}| subjectId required | string |
| scopeId required | string |
{- "subjectId": "string",
- "scopeId": "string"
}{- "permissions": [
- "example"
]
}| subjectId required | string |
| scopeId required | string |
{- "subjectId": "string",
- "scopeId": "string"
}{- "roles": [
- "example"
]
}| subjectId required | string |
| scopeId required | string |
| checks required | Array of strings |
| permissions required | Array of strings |
| roles required | Array of strings |
| subjectRoleIds required | Array of strings |
| includeReason | boolean |
{- "subjectId": "string",
- "scopeId": "string",
- "checks": [
- "example"
], - "permissions": [
- "example"
], - "roles": [
- "example"
], - "subjectRoleIds": [
- "example"
]
}{- "subjectId": "string",
- "scopeId": "string",
- "results": [
- "example"
]
}| limit | number Maximum items per page |
| nextToken | string Pagination cursor |
{- "id": "string",
- "eventType": "string",
- "timestamp": "string",
- "actor": "string",
- "scopeId": "string",
- "result": "string"
}{- "tier": "free",
- "tierName": "string",
- "monthlyLimit": "example",
- "currentMonthCount": 0,
- "percentUsed": "example",
- "notificationEmails": [
- "example"
], - "alertThresholdPercent": 0,
- "anomalyAlertsEnabled": true
}| notificationEmails | Array of strings |
| alertThresholdPercent | number |
| anomalyAlertsEnabled | boolean |
{ }{- "tier": "free",
- "tierName": "string",
- "monthlyLimit": "example",
- "currentMonthCount": 0,
- "percentUsed": "example",
- "notificationEmails": [
- "example"
], - "alertThresholdPercent": 0,
- "anomalyAlertsEnabled": true
}| tier required | string Enum: "starter" "growth" "business" "scale" |
| interval required | string Enum: "monthly" "annual" |
| customerEmail | string |
| successUrl required | string |
| cancelUrl required | string |
{- "tier": "starter",
- "interval": "monthly",
- "successUrl": "string",
- "cancelUrl": "string"
}{- "url": "string"
}{- "tier": "free",
- "tierName": "string",
- "includedChecks": 0,
- "currentMonthChecks": 0,
- "overageChecks": 0,
- "overageRatePerMillion": 0,
- "estimatedOverageCharge": 0,
- "isPaused": true,
- "consentCount": 0,
- "nextPauseAtPercent": 0,
- "nextPauseAtChecks": 0,
- "isHardPause": true
}| ipAddress | string |
{ }{- "resumed": true,
- "tier": "free",
- "consentCount": 0,
- "nextPauseAtPercent": 0,
- "nextPauseAtChecks": 0
}| scopeId required | string Scope ID |
{- "scopeName": "string",
- "counts": {
- "permissions": 0,
- "roles": 0,
- "accessPolicies": 0,
- "apiKeys": 0,
- "resourceTypes": 0
}, - "usage": {
- "checksToday": 0,
- "grantedToday": 0,
- "deniedToday": 0,
- "denyRateToday": 0,
- "checksThisWeek": 0,
- "deniedThisWeek": 0,
- "checksThisMonth": 0
}, - "anomalies": [
- "example"
], - "recentActivity": [
- "example"
]
}| scopeId required | string Scope ID |
{- "items": [
- "example"
], - "totalChecksToday": 0,
- "totalGrantedToday": 0,
- "totalDeniedToday": 0,
- "totalChecksThisMonth": 0
}| scopeId required | string Scope ID |
| anomalySk required | string Anomaly sort key |
{- "scopeId": "string",
- "metric": "string",
- "currentValue": 0,
- "averageValue": 0,
- "threshold": 0,
- "flagged": true,
- "period": "string"
}| scopeId required | string Scope ID |
| id | string |
| roleIdA required | string |
| roleIdB required | string |
| description | string |
{- "roleIdA": "string",
- "roleIdB": "string"
}{- "id": "string",
- "scopeId": "string",
- "roleIdA": "string",
- "roleIdB": "string"
}