PeerTube Agentic Access
PeerTube exposes 580 API operations that an AI agent could call, of which 350 are state-changing ‘acting’ operations. This is a recommended x-agentic-access execution contract — the scope, audience, consequence tier, short-lived token constraints, and escalation each action should carry before it is handed to an autonomous agent.
By consequence: 230 read, 310 write, 32 physical, and 8 safety-critical.
8 operations are classed safety-critical and should require human-in-the-loop approval at runtime.
Contracts are classified heuristically from the provider’s OpenAPI and refresh on every APIs.io network build; audience is bound per deployment. The model follows Curity’s Access Intelligence (apidays Munich 2026). Browse every provider’s agent contracts at agentic-access.apis.io.
By consequence
Highest-consequence actions
The physical and safety-critical operations an agent could invoke — the ones that most warrant scoped tokens, tight TTLs, and escalation. Full per-operation contracts are in the source below.
| Method | Path | Consequence | Human-in-loop |
|---|---|---|---|
| POST | /api/v1/users/ask-reset-password | safety-critical | required |
| POST | /api/v1/users/ask-reset-password | safety-critical | required |
| POST | /api/v1/users/revoke-token | safety-critical | required |
| POST | /api/v1/users/revoke-token | safety-critical | required |
| POST | /api/v1/users/{id}/reset-password | safety-critical | required |
| POST | /api/v1/users/{id}/reset-password | safety-critical | required |
| POST | /api/v1/users/{id}/two-factor/disable | safety-critical | required |
| POST | /api/v1/users/{id}/two-factor/disable | safety-critical | required |
| POST | /api/v1/server/logs/client | physical | conditional |
| POST | /api/v1/server/logs/client | physical | conditional |
| POST | /api/v1/users/ask-send-verify-email | physical | conditional |
| POST | /api/v1/users/ask-send-verify-email | physical | conditional |
| POST | /api/v1/users/registrations/ask-send-verify-email | physical | conditional |
| POST | /api/v1/users/registrations/ask-send-verify-email | physical | conditional |
| PUT | /api/v1/users/{userId}/imports/import-resumable | physical | conditional |
| PUT | /api/v1/users/{userId}/imports/import-resumable | physical | conditional |
| DELETE | /api/v1/video-channels/ownership/{id} | physical | conditional |
| DELETE | /api/v1/video-channels/ownership/{id} | physical | conditional |
| POST | /api/v1/video-channels/ownership/{id}/accept | physical | conditional |
| POST | /api/v1/video-channels/ownership/{id}/accept | physical | conditional |
| POST | /api/v1/video-channels/ownership/{id}/refuse | physical | conditional |
| POST | /api/v1/video-channels/ownership/{id}/refuse | physical | conditional |
| POST | /api/v1/video-channels/{channelHandle}/give-ownership | physical | conditional |
| POST | /api/v1/video-channels/{channelHandle}/give-ownership | physical | conditional |
| POST | /api/v1/video-channels/{channelHandle}/video-playlists/reorder | physical | conditional |
Source
Agentic Access
generated: '2026-07-15'
method: generated
source: openapi/openapi.json, openapi/openapi.yaml
description: Recommended x-agentic-access execution contracts, classified heuristically from
the OpenAPI. A governance starting point for exposing this API to AI agents — review and bind
audience per deployment. See research/curity/agentic-governance/.
summary:
operations: 580
by_action_class:
connected: 230
acting: 350
by_consequence:
read: 230
write: 310
safety-critical: 8
physical: 32
human_in_the_loop_required: 8
operations:
- path: /static/web-videos/{filename}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /static/web-videos/private/{filename}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /static/streaming-playlists/hls/{filename}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /static/streaming-playlists/hls/private/{filename}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /download/videos/generate/{videoIdOrUUID}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /feeds/video-comments.{format}
method: get
operationId: getSyndicatedComments
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /feeds/videos.{format}
method: get
operationId: getSyndicatedVideos
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /feeds/subscriptions.{format}
method: get
operationId: getSyndicatedSubscriptionVideos
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /feeds/podcast/videos.xml
method: get
operationId: getVideosPodcastFeed
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/accounts/{name}
method: get
operationId: getAccount
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/accounts/{name}/videos
method: get
operationId: getAccountVideos
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/accounts/{name}/followers
method: get
operationId: getAccountFollowers
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/accounts
method: get
operationId: getAccounts
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/config
method: get
operationId: getConfig
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/config/about
method: get
operationId: getAbout
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/config/custom
method: get
operationId: getCustomConfig
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- admin
token:
max-ttl: 3600
audit: none
- path: /api/v1/config/custom
method: put
operationId: putCustomConfig
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/custom
method: delete
operationId: delCustomConfig
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-banner/pick
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-banner
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-avatar/pick
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-avatar
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-logo/{logoType}/pick
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/config/instance-logo/{logoType}
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/custom-pages/homepage/instance
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/custom-pages/homepage/instance
method: put
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/jobs/pause
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/jobs/resume
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/jobs/{state}
method: get
operationId: getJobs
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- admin
token:
max-ttl: 3600
audit: none
- path: /api/v1/server/followers
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/server/followers/{handle}
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/server/followers/{handle}/reject
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/server/followers/{handle}/accept
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/server/following
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/server/following
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/server/following/{hostOrHandle}
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users
method: post
operationId: addUser
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users
method: get
operationId: getUsers
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- admin
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/{id}
method: delete
operationId: delUser
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}
method: get
operationId: getUser
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/{id}
method: put
operationId: putUser
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}/block
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}/unblock
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/oauth-clients/local
method: get
operationId: getOAuthClient
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/token
method: post
operationId: getOAuthToken
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/revoke-token
method: post
operationId: revokeOAuthToken
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /api/v1/users/{id}/token-sessions
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/{id}/token-sessions/{tokenSessionId}/revoke
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/ask-send-verify-email
method: post
operationId: resendEmailToVerifyUser
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/ask-send-verify-email
method: post
operationId: resendEmailToVerifyRegistration
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}/verify-email
method: post
operationId: verifyUser
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/{registrationId}/verify-email
method: post
operationId: verifyRegistrationEmail
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/ask-reset-password
method: post
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /api/v1/users/{id}/reset-password
method: post
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /api/v1/users/{id}/two-factor/request
method: post
operationId: requestTwoFactor
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}/two-factor/confirm-request
method: post
operationId: confirmTwoFactorRequest
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{id}/two-factor/disable
method: post
operationId: disableTwoFactor
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /api/v1/users/{userId}/imports/import-resumable
method: post
operationId: userImportResumableInit
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{userId}/imports/import-resumable
method: put
operationId: userImportResumable
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{userId}/imports/import-resumable
method: delete
operationId: userImportResumableCancel
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{userId}/imports/latest
method: get
operationId: getLatestUserImport
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/{userId}/exports/request
method: post
operationId: requestUserExport
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/{userId}/exports
method: get
operationId: listUserExports
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/{userId}/exports/{id}
method: delete
operationId: deleteUserExport
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me
method: get
operationId: getUserInfo
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me
method: put
operationId: putUserInfo
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- user
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me
method: delete
operationId: deleteMe
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- user
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/videos/comments
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/videos/imports
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/video-quota-used
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/videos/{videoIdOrUUID}/rating
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/videos
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/subscriptions
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/subscriptions
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- user
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/subscriptions/exist
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/subscriptions/videos
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/subscriptions/{subscriptionHandle}
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- user
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/subscriptions/{subscriptionHandle}
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- user
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/notifications
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/notifications/read
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/notifications/read-all
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/notification-settings
method: put
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/new-feature-info/read
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- user
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/history/videos
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/users/me/history/videos/{videoIdOrUUID}
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/history/videos/remove
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/avatar/pick
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/me/avatar
method: delete
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/register
method: post
operationId: registerUser
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/request
method: post
operationId: requestRegistration
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/{registrationId}/accept
method: post
operationId: acceptRegistration
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
- moderator
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/{registrationId}/reject
method: post
operationId: rejectRegistration
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
- moderator
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations/{registrationId}
method: delete
operationId: deleteRegistration
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- admin
- moderator
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/users/registrations
method: get
operationId: listRegistrations
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- admin
- moderator
token:
max-ttl: 3600
audit: none
- path: /api/v1/videos/ownership
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/videos/ownership/{id}/accept
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/videos/ownership/{id}/refuse
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/videos/ownership/{id}
method: delete
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/videos/{videoIdOrUUID}/ownership
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/videos/{videoIdOrUUID}/give-ownership
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/video-channels/ownership
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/video-channels/ownership/{id}/accept
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/video-channels/ownership/{id}/refuse
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/video-channels/ownership/{id}
method: delete
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/video-channels/{channelHandle}/ownership
method: get
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/v1/video-channels/{channelHandle}/give-ownership
method: post
x-agentic-access:
action-class: acting
consequence: physical
subject: required
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/videos/{id}/token
method: post
operationId: requestVideoToken
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/v1/videos/{id}/studio/edit
method: post
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-th
# --- truncated at 32 KB (171 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/peertube/refs/heads/main/agentic-access/peertube-agentic-access.yml