PostHog · Capability

PostHog API — sandbox_environments

PostHog API — sandbox_environments. 5 operations. Lead operation: sandbox_environments. Self-contained Naftiko capability covering one Posthog business surface.

Run with Naftiko Posthogsandbox_environments

What You Can Do

GET
Sandboxlist — API for managing sandbox environments that control network access for task runs.
/v1/api/projects/{project-id}/sandbox-environments
POST
Sandboxcreate — API for managing sandbox environments that control network access for task runs.
/v1/api/projects/{project-id}/sandbox-environments
GET
Sandboxretrieve — API for managing sandbox environments that control network access for task runs.
/v1/api/projects/{project-id}/sandbox-environments/{id}
PATCH
Sandboxpartialupdate — API for managing sandbox environments that control network access for task runs.
/v1/api/projects/{project-id}/sandbox-environments/{id}
DELETE
Sandboxdestroy — API for managing sandbox environments that control network access for task runs.
/v1/api/projects/{project-id}/sandbox-environments/{id}

MCP Tools

api-managing-sandbox-environments-that

API for managing sandbox environments that control network access for task runs.

read-only idempotent
api-managing-sandbox-environments-that-2

API for managing sandbox environments that control network access for task runs.

api-managing-sandbox-environments-that-3

API for managing sandbox environments that control network access for task runs.

read-only idempotent
api-managing-sandbox-environments-that-4

API for managing sandbox environments that control network access for task runs.

idempotent
api-managing-sandbox-environments-that-5

API for managing sandbox environments that control network access for task runs.

idempotent

Capability Spec

posthog-sandbox-environments-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — sandbox_environments
  description: 'PostHog API — sandbox_environments. 5 operations. Lead operation: sandbox_environments. Self-contained Naftiko
    capability covering one Posthog business surface.'
  tags:
  - Posthog
  - sandbox_environments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-sandbox-environments-2
    baseUri: ''
    description: PostHog API — sandbox_environments business capability. Self-contained, no shared references.
    resources:
    - name: api-projects-project_id-sandbox_environments
      path: /api/projects/{project_id}/sandbox_environments/
      operations:
      - name: sandboxlist
        method: GET
        description: API for managing sandbox environments that control network access for task runs.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
      - name: sandboxcreate
        method: POST
        description: API for managing sandbox environments that control network access for task runs.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-sandbox_environments-id
      path: /api/projects/{project_id}/sandbox_environments/{id}/
      operations:
      - name: sandboxretrieve
        method: GET
        description: API for managing sandbox environments that control network access for task runs.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this sandbox environment.
          required: true
      - name: sandboxpartialupdate
        method: PATCH
        description: API for managing sandbox environments that control network access for task runs.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this sandbox environment.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: sandboxdestroy
        method: DELETE
        description: API for managing sandbox environments that control network access for task runs.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this sandbox environment.
          required: true
    authentication:
      type: bearer
      token: '{{env.POSTHOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: posthog-sandbox-environments-2-rest
    port: 8080
    description: REST adapter for PostHog API — sandbox_environments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/projects/{project-id}/sandbox-environments
      name: api-projects-project-id-sandbox-environments
      description: REST surface for api-projects-project_id-sandbox_environments.
      operations:
      - method: GET
        name: sandboxlist
        description: API for managing sandbox environments that control network access for task runs.
        call: posthog-sandbox-environments-2.sandboxlist
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sandboxcreate
        description: API for managing sandbox environments that control network access for task runs.
        call: posthog-sandbox-environments-2.sandboxcreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/projects/{project-id}/sandbox-environments/{id}
      name: api-projects-project-id-sandbox-environments-id
      description: REST surface for api-projects-project_id-sandbox_environments-id.
      operations:
      - method: GET
        name: sandboxretrieve
        description: API for managing sandbox environments that control network access for task runs.
        call: posthog-sandbox-environments-2.sandboxretrieve
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sandboxpartialupdate
        description: API for managing sandbox environments that control network access for task runs.
        call: posthog-sandbox-environments-2.sandboxpartialupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sandboxdestroy
        description: API for managing sandbox environments that control network access for task runs.
        call: posthog-sandbox-environments-2.sandboxdestroy
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: posthog-sandbox-environments-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for PostHog API — sandbox_environments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: api-managing-sandbox-environments-that
      description: API for managing sandbox environments that control network access for task runs.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-sandbox-environments-2.sandboxlist
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: api-managing-sandbox-environments-that-2
      description: API for managing sandbox environments that control network access for task runs.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-sandbox-environments-2.sandboxcreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: api-managing-sandbox-environments-that-3
      description: API for managing sandbox environments that control network access for task runs.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-sandbox-environments-2.sandboxretrieve
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: api-managing-sandbox-environments-that-4
      description: API for managing sandbox environments that control network access for task runs.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-sandbox-environments-2.sandboxpartialupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: api-managing-sandbox-environments-that-5
      description: API for managing sandbox environments that control network access for task runs.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: posthog-sandbox-environments-2.sandboxdestroy
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.