PostHog Agentic Access
PostHog exposes 1567 API operations that an AI agent could call, of which 927 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: 640 read, 892 write, 17 physical, and 18 safety-critical.
18 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/environments/{environment_id}/data_warehouse/reset-password/ | safety-critical | required |
| POST | /api/environments/{environment_id}/logs/alerts/{id}/reset/ | safety-critical | required |
| POST | /api/environments/{environment_id}/persons/reset_person_distinct_id/ | safety-critical | required |
| POST | /api/environments/{project_id}/llm_skills/ | safety-critical | required |
| PATCH | /api/environments/{project_id}/llm_skills/name/{skill_name}/ | safety-critical | required |
| POST | /api/environments/{project_id}/llm_skills/name/{skill_name}/archive/ | safety-critical | required |
| POST | /api/environments/{project_id}/llm_skills/name/{skill_name}/duplicate/ | safety-critical | required |
| POST | /api/environments/{project_id}/llm_skills/name/{skill_name}/files-rename/ | safety-critical | required |
| POST | /api/environments/{project_id}/llm_skills/name/{skill_name}/files/ | safety-critical | required |
| DELETE | /api/environments/{project_id}/llm_skills/name/{skill_name}/files/{file_path}/ | safety-critical | required |
| PATCH | /api/organizations/{organization_id}/projects/{id}/reset_token/ | safety-critical | required |
| POST | /api/projects/{project_id}/data_warehouse/reset-password/ | safety-critical | required |
| PATCH | /api/projects/{project_id}/environments/{id}/reset_token/ | safety-critical | required |
| POST | /api/projects/{project_id}/experiments/{id}/reset/ | safety-critical | required |
| POST | /api/projects/{project_id}/logs/alerts/{id}/reset/ | safety-critical | required |
| POST | /api/projects/{project_id}/notebooks/{short_id}/kernel/stop/ | safety-critical | required |
| POST | /api/projects/{project_id}/persons/reset_person_distinct_id/ | safety-critical | required |
| POST | /api/users/{uuid}/two_factor_disable/ | safety-critical | required |
| POST | /api/environments/{environment_id}/dashboards/{id}/reorder_tiles/ | physical | conditional |
| POST | /api/environments/{environment_id}/data_warehouse/deprovision/ | physical | conditional |
| POST | /api/environments/{environment_id}/data_warehouse/provision/ | physical | conditional |
| POST | /api/environments/{environment_id}/file_system_shortcut/reorder/ | physical | conditional |
| POST | /api/environments/{environment_id}/logs/sampling_rules/reorder/ | physical | conditional |
| PATCH | /api/environments/{project_id}/error_tracking/assignment_rules/reorder/ | physical | conditional |
| PATCH | /api/environments/{project_id}/error_tracking/grouping_rules/reorder/ | physical | conditional |
Source
Agentic Access
generated: '2026-07-15'
method: generated
source: openapi/posthog-openapi.yml
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: 1567
by_action_class:
connected: 640
acting: 927
by_consequence:
read: 640
write: 892
physical: 17
safety-critical: 18
human_in_the_loop_required: 18
operations:
- path: /api/code/invites/check-access/
method: get
operationId: code_invites_check_access_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/code/invites/redeem/
method: post
operationId: code_invites_redeem_create
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/environments/{environment_id}/alerts/
method: get
operationId: environments_alerts_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- alert:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/alerts/
method: post
operationId: environments_alerts_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- alert:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/alerts/{id}/
method: get
operationId: environments_alerts_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- alert:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/alerts/{id}/
method: put
operationId: environments_alerts_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- alert:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/alerts/{id}/
method: patch
operationId: environments_alerts_partial_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- alert:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/alerts/{id}/
method: delete
operationId: environments_alerts_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- alert:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/alerts/simulate/
method: post
operationId: environments_alerts_simulate_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- alert:read
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/
method: get
operationId: environments_batch_exports_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/
method: post
operationId: environments_batch_exports_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/
method: get
operationId: environments_batch_exports_backfills_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/
method: post
operationId: environments_batch_exports_backfills_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/
method: get
operationId: environments_batch_exports_backfills_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/cancel/
method: post
operationId: environments_batch_exports_backfills_cancel_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/
method: get
operationId: environments_batch_exports_runs_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/
method: get
operationId: environments_batch_exports_runs_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/cancel/
method: post
operationId: environments_batch_exports_runs_cancel_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/logs/
method: get
operationId: environments_batch_exports_runs_logs_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/retry/
method: post
operationId: environments_batch_exports_runs_retry_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/
method: get
operationId: environments_batch_exports_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{id}/
method: put
operationId: environments_batch_exports_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/
method: patch
operationId: environments_batch_exports_partial_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/
method: delete
operationId: environments_batch_exports_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/logs/
method: get
operationId: environments_batch_exports_logs_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/batch_exports/{id}/pause/
method: post
operationId: environments_batch_exports_pause_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/run_test_step/
method: post
operationId: environments_batch_exports_run_test_step_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/{id}/unpause/
method: post
operationId: environments_batch_exports_unpause_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/run_test_step_new/
method: post
operationId: environments_batch_exports_run_test_step_new_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- batch_export:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/batch_exports/test/
method: get
operationId: environments_batch_exports_test_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- batch_export:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/
method: get
operationId: environments_dashboards_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dashboard:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/
method: post
operationId: environments_dashboards_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/collaborators/
method: get
operationId: environments_dashboards_collaborators_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dashboard:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/collaborators/
method: post
operationId: environments_dashboards_collaborators_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/collaborators/{user__uuid}/
method: delete
operationId: environments_dashboards_collaborators_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/
method: get
operationId: environments_dashboards_sharing_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- sharing_configuration:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/passwords/
method: post
operationId: environments_dashboards_sharing_passwords_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- sharing_configuration:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/passwords/{password_id}/
method: delete
operationId: environments_dashboards_sharing_passwords_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- sharing_configuration:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/refresh/
method: post
operationId: environments_dashboards_sharing_refresh_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- sharing_configuration:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{id}/
method: get
operationId: environments_dashboards_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dashboard:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/{id}/
method: put
operationId: environments_dashboards_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{id}/
method: patch
operationId: environments_dashboards_partial_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{id}/
method: delete
operationId: environments_dashboards_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{id}/analyze_refresh_result/
method: post
operationId: environments_dashboards_analyze_refresh_result_create
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/environments/{environment_id}/dashboards/{id}/copy_tile/
method: post
operationId: environments_dashboards_copy_tile_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dashboard:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dashboards/{id}/move_tile/
method: patch
operationId: environments_dashboards_move_tile_partial_update
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/environments/{environment_id}/dashboards/{id}/reorder_tiles/
method: post
operationId: environments_dashboards_reorder_tiles_create
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- dashboard:write
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/environments/{environment_id}/dashboards/{id}/run_insights/
method: get
operationId: environments_dashboards_run_insights_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- query:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/{id}/snapshot/
method: post
operationId: environments_dashboards_snapshot_create
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/environments/{environment_id}/dashboards/{id}/stream_tiles/
method: get
operationId: environments_dashboards_stream_tiles_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dashboards/bulk_update_tags/
method: post
operationId: environments_dashboards_bulk_update_tags_create
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/environments/{environment_id}/dashboards/create_from_template_json/
method: post
operationId: environments_dashboards_create_from_template_json_create
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/environments/{environment_id}/dashboards/create_unlisted_dashboard/
method: post
operationId: environments_dashboards_create_unlisted_dashboard_create
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/environments/{environment_id}/data_color_themes/
method: get
operationId: environments_data_color_themes_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_color_themes/
method: post
operationId: environments_data_color_themes_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- project:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/data_color_themes/{id}/
method: get
operationId: environments_data_color_themes_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_color_themes/{id}/
method: put
operationId: environments_data_color_themes_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- project:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/data_color_themes/{id}/
method: patch
operationId: environments_data_color_themes_partial_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- project:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/data_color_themes/{id}/
method: delete
operationId: environments_data_color_themes_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- project:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/data_modeling_jobs/
method: get
operationId: environments_data_modeling_jobs_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- warehouse_view:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_modeling_jobs/{id}/
method: get
operationId: environments_data_modeling_jobs_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- warehouse_view:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_modeling_jobs/recent/
method: get
operationId: environments_data_modeling_jobs_recent_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_modeling_jobs/running/
method: get
operationId: environments_data_modeling_jobs_running_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/check-database-name/
method: get
operationId: environments_data_warehouse_check_database_name_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/completed_activity/
method: get
operationId: environments_data_warehouse_completed_activity_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/data_health_issues/
method: get
operationId: environments_data_warehouse_data_health_issues_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/data_ops_dashboard/
method: get
operationId: environments_data_warehouse_data_ops_dashboard_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- warehouse_view:write
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/deprovision/
method: post
operationId: environments_data_warehouse_deprovision_create
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- warehouse_view:write
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/environments/{environment_id}/data_warehouse/job_stats/
method: get
operationId: environments_data_warehouse_job_stats_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/property_values/
method: get
operationId: environments_data_warehouse_property_values_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- query:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/provision/
method: post
operationId: environments_data_warehouse_provision_create
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- warehouse_view:write
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/environments/{environment_id}/data_warehouse/reset-password/
method: post
operationId: environments_data_warehouse_reset_password_create
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
scope:
- warehouse_view:write
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/environments/{environment_id}/data_warehouse/running_activity/
method: get
operationId: environments_data_warehouse_running_activity_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/total_rows_stats/
method: get
operationId: environments_data_warehouse_total_rows_stats_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/data_warehouse/warehouse_status/
method: get
operationId: environments_data_warehouse_warehouse_status_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dataset_items/
method: get
operationId: environments_dataset_items_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dataset:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dataset_items/
method: post
operationId: environments_dataset_items_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dataset_items/{id}/
method: get
operationId: environments_dataset_items_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dataset:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/dataset_items/{id}/
method: put
operationId: environments_dataset_items_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dataset_items/{id}/
method: patch
operationId: environments_dataset_items_partial_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/dataset_items/{id}/
method: delete
operationId: environments_dataset_items_destroy
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/datasets/
method: get
operationId: environments_datasets_list
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dataset:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/datasets/
method: post
operationId: environments_datasets_create
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/datasets/{id}/
method: get
operationId: environments_datasets_retrieve
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- dataset:read
token:
max-ttl: 3600
audit: none
- path: /api/environments/{environment_id}/datasets/{id}/
method: put
operationId: environments_datasets_update
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- dataset:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /api/environments/{environment_id}/datasets/{id}/
# --- truncated at 32 KB (567 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/agentic-access/posthog-agentic-access.yml