PostHog · Capability

PostHog API — batch_exports

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

Run with Naftiko Posthogbatch_exports

What You Can Do

GET
Environmentsbatchexportslist — environmentsbatchexportslist
/v1/api/environments/{environment-id}/batch-exports
GET
Environmentsbatchexportslist — environmentsbatchexportslist
/v1/api/environments/{environment-id}/batch-exports
POST
Environmentsbatchexportscreate — environmentsbatchexportscreate
/v1/api/environments/{environment-id}/batch-exports
POST
Environmentsbatchexportscreate — environmentsbatchexportscreate
/v1/api/environments/{environment-id}/batch-exports
POST
Environmentsbatchexportsrunteststepnewcreate — environmentsbatchexportsrunteststepnewcreate
/v1/api/environments/{environment-id}/batch-exports/run-test-step-new
POST
Environmentsbatchexportsrunteststepnewcreate — environmentsbatchexportsrunteststepnewcreate
/v1/api/environments/{environment-id}/batch-exports/run-test-step-new
GET
Environmentsbatchexportstestretrieve — environmentsbatchexportstestretrieve
/v1/api/environments/{environment-id}/batch-exports/test
GET
Environmentsbatchexportstestretrieve — environmentsbatchexportstestretrieve
/v1/api/environments/{environment-id}/batch-exports/test
GET
Environmentsbatchexportsbackfillslist — ViewSet for BatchExportBackfill models.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/backfills
POST
Environmentsbatchexportsbackfillscreate — Create a new backfill for a BatchExport.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/backfills
GET
Environmentsbatchexportsbackfillsretrieve — ViewSet for BatchExportBackfill models.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/backfills/{id}
POST
Environmentsbatchexportsbackfillscancelcreate — Cancel a batch export backfill.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/backfills/{id}/cancel
GET
Environmentsbatchexportsrunslist — environmentsbatchexportsrunslist
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs
GET
Environmentsbatchexportsrunslist — environmentsbatchexportsrunslist
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs
GET
Environmentsbatchexportsrunsretrieve — environmentsbatchexportsrunsretrieve
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}
GET
Environmentsbatchexportsrunsretrieve — environmentsbatchexportsrunsretrieve
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}
POST
Environmentsbatchexportsrunscancelcreate — Cancel a batch export run.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/cancel
POST
Environmentsbatchexportsrunscancelcreate — Cancel a batch export run.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/cancel
GET
Environmentsbatchexportsrunslogsretrieve — environmentsbatchexportsrunslogsretrieve
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/logs
GET
Environmentsbatchexportsrunslogsretrieve — environmentsbatchexportsrunslogsretrieve
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/logs
POST
Environmentsbatchexportsrunsretrycreate — Retry a batch export run.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/retry
POST
Environmentsbatchexportsrunsretrycreate — Retry a batch export run.
/v1/api/environments/{environment-id}/batch-exports/{batch-export-id}/runs/{id}/retry
GET
Environmentsbatchexportsretrieve — environmentsbatchexportsretrieve
/v1/api/environments/{environment-id}/batch-exports/{id}
GET
Environmentsbatchexportsretrieve — environmentsbatchexportsretrieve
/v1/api/environments/{environment-id}/batch-exports/{id}
PUT
Environmentsbatchexportsupdate — environmentsbatchexportsupdate
/v1/api/environments/{environment-id}/batch-exports/{id}
PUT
Environmentsbatchexportsupdate — environmentsbatchexportsupdate
/v1/api/environments/{environment-id}/batch-exports/{id}
PATCH
Environmentsbatchexportspartialupdate — environmentsbatchexportspartialupdate
/v1/api/environments/{environment-id}/batch-exports/{id}
PATCH
Environmentsbatchexportspartialupdate — environmentsbatchexportspartialupdate
/v1/api/environments/{environment-id}/batch-exports/{id}
DELETE
Environmentsbatchexportsdestroy — environmentsbatchexportsdestroy
/v1/api/environments/{environment-id}/batch-exports/{id}
DELETE
Environmentsbatchexportsdestroy — environmentsbatchexportsdestroy
/v1/api/environments/{environment-id}/batch-exports/{id}
GET
Environmentsbatchexportslogsretrieve — environmentsbatchexportslogsretrieve
/v1/api/environments/{environment-id}/batch-exports/{id}/logs
GET
Environmentsbatchexportslogsretrieve — environmentsbatchexportslogsretrieve
/v1/api/environments/{environment-id}/batch-exports/{id}/logs
POST
Environmentsbatchexportspausecreate — Pause a BatchExport.
/v1/api/environments/{environment-id}/batch-exports/{id}/pause
POST
Environmentsbatchexportspausecreate — Pause a BatchExport.
/v1/api/environments/{environment-id}/batch-exports/{id}/pause
POST
Environmentsbatchexportsrunteststepcreate — environmentsbatchexportsrunteststepcreate
/v1/api/environments/{environment-id}/batch-exports/{id}/run-test-step
POST
Environmentsbatchexportsrunteststepcreate — environmentsbatchexportsrunteststepcreate
/v1/api/environments/{environment-id}/batch-exports/{id}/run-test-step
POST
Environmentsbatchexportsunpausecreate — Unpause a BatchExport.
/v1/api/environments/{environment-id}/batch-exports/{id}/unpause
POST
Environmentsbatchexportsunpausecreate — Unpause a BatchExport.
/v1/api/environments/{environment-id}/batch-exports/{id}/unpause
GET
Orgorganizationsbatchexportslist — orgorganizationsbatchexportslist
/v1/api/organizations/{organization-id}/batch-exports
GET
Orgorganizationsbatchexportslist — orgorganizationsbatchexportslist
/v1/api/organizations/{organization-id}/batch-exports
POST
Orgorganizationsbatchexportscreate — orgorganizationsbatchexportscreate
/v1/api/organizations/{organization-id}/batch-exports
POST
Orgorganizationsbatchexportscreate — orgorganizationsbatchexportscreate
/v1/api/organizations/{organization-id}/batch-exports
POST
Orgorganizationsbatchexportsrunteststepnewcreate — orgorganizationsbatchexportsrunteststepnewcreate
/v1/api/organizations/{organization-id}/batch-exports/run-test-step-new
POST
Orgorganizationsbatchexportsrunteststepnewcreate — orgorganizationsbatchexportsrunteststepnewcreate
/v1/api/organizations/{organization-id}/batch-exports/run-test-step-new
GET
Orgorganizationsbatchexportstestretrieve — orgorganizationsbatchexportstestretrieve
/v1/api/organizations/{organization-id}/batch-exports/test
GET
Orgorganizationsbatchexportstestretrieve — orgorganizationsbatchexportstestretrieve
/v1/api/organizations/{organization-id}/batch-exports/test
GET
Orgorganizationsbatchexportsretrieve — orgorganizationsbatchexportsretrieve
/v1/api/organizations/{organization-id}/batch-exports/{id}
GET
Orgorganizationsbatchexportsretrieve — orgorganizationsbatchexportsretrieve
/v1/api/organizations/{organization-id}/batch-exports/{id}
PUT
Orgorganizationsbatchexportsupdate — orgorganizationsbatchexportsupdate
/v1/api/organizations/{organization-id}/batch-exports/{id}
PUT
Orgorganizationsbatchexportsupdate — orgorganizationsbatchexportsupdate
/v1/api/organizations/{organization-id}/batch-exports/{id}
PATCH
Orgorganizationsbatchexportspartialupdate — orgorganizationsbatchexportspartialupdate
/v1/api/organizations/{organization-id}/batch-exports/{id}
PATCH
Orgorganizationsbatchexportspartialupdate — orgorganizationsbatchexportspartialupdate
/v1/api/organizations/{organization-id}/batch-exports/{id}
DELETE
Orgorganizationsbatchexportsdestroy — orgorganizationsbatchexportsdestroy
/v1/api/organizations/{organization-id}/batch-exports/{id}
DELETE
Orgorganizationsbatchexportsdestroy — orgorganizationsbatchexportsdestroy
/v1/api/organizations/{organization-id}/batch-exports/{id}
GET
Orgorganizationsbatchexportslogsretrieve — orgorganizationsbatchexportslogsretrieve
/v1/api/organizations/{organization-id}/batch-exports/{id}/logs
GET
Orgorganizationsbatchexportslogsretrieve — orgorganizationsbatchexportslogsretrieve
/v1/api/organizations/{organization-id}/batch-exports/{id}/logs
POST
Orgorganizationsbatchexportspausecreate — Pause a BatchExport.
/v1/api/organizations/{organization-id}/batch-exports/{id}/pause
POST
Orgorganizationsbatchexportspausecreate — Pause a BatchExport.
/v1/api/organizations/{organization-id}/batch-exports/{id}/pause
POST
Orgorganizationsbatchexportsrunteststepcreate — orgorganizationsbatchexportsrunteststepcreate
/v1/api/organizations/{organization-id}/batch-exports/{id}/run-test-step
POST
Orgorganizationsbatchexportsrunteststepcreate — orgorganizationsbatchexportsrunteststepcreate
/v1/api/organizations/{organization-id}/batch-exports/{id}/run-test-step
POST
Orgorganizationsbatchexportsunpausecreate — Unpause a BatchExport.
/v1/api/organizations/{organization-id}/batch-exports/{id}/unpause
POST
Orgorganizationsbatchexportsunpausecreate — Unpause a BatchExport.
/v1/api/organizations/{organization-id}/batch-exports/{id}/unpause
GET
Batchexportslist — batchexportslist
/v1/api/projects/{project-id}/batch-exports
GET
Batchexportslist — batchexportslist
/v1/api/projects/{project-id}/batch-exports
POST
Batchexportscreate — batchexportscreate
/v1/api/projects/{project-id}/batch-exports
POST
Batchexportscreate — batchexportscreate
/v1/api/projects/{project-id}/batch-exports
POST
Batchexportsrunteststepnewcreate — batchexportsrunteststepnewcreate
/v1/api/projects/{project-id}/batch-exports/run-test-step-new
POST
Batchexportsrunteststepnewcreate — batchexportsrunteststepnewcreate
/v1/api/projects/{project-id}/batch-exports/run-test-step-new
GET
Batchexportstestretrieve — batchexportstestretrieve
/v1/api/projects/{project-id}/batch-exports/test
GET
Batchexportstestretrieve — batchexportstestretrieve
/v1/api/projects/{project-id}/batch-exports/test
GET
Batchexportsbackfillslist — ViewSet for BatchExportBackfill models.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/backfills
POST
Batchexportsbackfillscreate — Create a new backfill for a BatchExport.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/backfills
GET
Batchexportsbackfillsretrieve — ViewSet for BatchExportBackfill models.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/backfills/{id}
POST
Batchexportsbackfillscancelcreate — Cancel a batch export backfill.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/backfills/{id}/cancel
GET
Batchexportsrunslist — batchexportsrunslist
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs
GET
Batchexportsrunslist — batchexportsrunslist
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs
GET
Batchexportsrunsretrieve — batchexportsrunsretrieve
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}
GET
Batchexportsrunsretrieve — batchexportsrunsretrieve
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}
POST
Batchexportsrunscancelcreate — Cancel a batch export run.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/cancel
POST
Batchexportsrunscancelcreate — Cancel a batch export run.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/cancel
GET
Batchexportsrunslogsretrieve — batchexportsrunslogsretrieve
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/logs
GET
Batchexportsrunslogsretrieve — batchexportsrunslogsretrieve
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/logs
POST
Batchexportsrunsretrycreate — Retry a batch export run.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/retry
POST
Batchexportsrunsretrycreate — Retry a batch export run.
/v1/api/projects/{project-id}/batch-exports/{batch-export-id}/runs/{id}/retry
GET
Batchexportsretrieve — batchexportsretrieve
/v1/api/projects/{project-id}/batch-exports/{id}
GET
Batchexportsretrieve — batchexportsretrieve
/v1/api/projects/{project-id}/batch-exports/{id}
PUT
Batchexportsupdate — batchexportsupdate
/v1/api/projects/{project-id}/batch-exports/{id}
PUT
Batchexportsupdate — batchexportsupdate
/v1/api/projects/{project-id}/batch-exports/{id}
PATCH
Batchexportspartialupdate — batchexportspartialupdate
/v1/api/projects/{project-id}/batch-exports/{id}
PATCH
Batchexportspartialupdate — batchexportspartialupdate
/v1/api/projects/{project-id}/batch-exports/{id}
DELETE
Batchexportsdestroy — batchexportsdestroy
/v1/api/projects/{project-id}/batch-exports/{id}
DELETE
Batchexportsdestroy — batchexportsdestroy
/v1/api/projects/{project-id}/batch-exports/{id}
GET
Batchexportslogsretrieve — batchexportslogsretrieve
/v1/api/projects/{project-id}/batch-exports/{id}/logs
GET
Batchexportslogsretrieve — batchexportslogsretrieve
/v1/api/projects/{project-id}/batch-exports/{id}/logs
POST
Batchexportspausecreate — Pause a BatchExport.
/v1/api/projects/{project-id}/batch-exports/{id}/pause
POST
Batchexportspausecreate — Pause a BatchExport.
/v1/api/projects/{project-id}/batch-exports/{id}/pause
POST
Batchexportsrunteststepcreate — batchexportsrunteststepcreate
/v1/api/projects/{project-id}/batch-exports/{id}/run-test-step
POST
Batchexportsrunteststepcreate — batchexportsrunteststepcreate
/v1/api/projects/{project-id}/batch-exports/{id}/run-test-step
POST
Batchexportsunpausecreate — Unpause a BatchExport.
/v1/api/projects/{project-id}/batch-exports/{id}/unpause
POST
Batchexportsunpausecreate — Unpause a BatchExport.
/v1/api/projects/{project-id}/batch-exports/{id}/unpause

MCP Tools

environmentsbatchexportslist

environmentsbatchexportslist

read-only idempotent
environmentsbatchexportslist-2

environmentsbatchexportslist

read-only idempotent
environmentsbatchexportscreate

environmentsbatchexportscreate

environmentsbatchexportscreate-2

environmentsbatchexportscreate

environmentsbatchexportsrunteststepnewcreate

environmentsbatchexportsrunteststepnewcreate

environmentsbatchexportsrunteststepnewcreate-2

environmentsbatchexportsrunteststepnewcreate

environmentsbatchexportstestretrieve

environmentsbatchexportstestretrieve

read-only idempotent
environmentsbatchexportstestretrieve-2

environmentsbatchexportstestretrieve

read-only idempotent
viewset-batchexportbackfill-models

ViewSet for BatchExportBackfill models.

read-only idempotent
create-new-backfill-batchexport

Create a new backfill for a BatchExport.

viewset-batchexportbackfill-models-2

ViewSet for BatchExportBackfill models.

read-only idempotent
cancel-batch-export-backfill

Cancel a batch export backfill.

environmentsbatchexportsrunslist

environmentsbatchexportsrunslist

read-only idempotent
environmentsbatchexportsrunslist-2

environmentsbatchexportsrunslist

read-only idempotent
environmentsbatchexportsrunsretrieve

environmentsbatchexportsrunsretrieve

read-only idempotent
environmentsbatchexportsrunsretrieve-2

environmentsbatchexportsrunsretrieve

read-only idempotent
cancel-batch-export-run

Cancel a batch export run.

cancel-batch-export-run-2

Cancel a batch export run.

environmentsbatchexportsrunslogsretrieve

environmentsbatchexportsrunslogsretrieve

read-only idempotent
environmentsbatchexportsrunslogsretrieve-2

environmentsbatchexportsrunslogsretrieve

read-only idempotent
retry-batch-export-run

Retry a batch export run.

retry-batch-export-run-2

Retry a batch export run.

environmentsbatchexportsretrieve

environmentsbatchexportsretrieve

read-only idempotent
environmentsbatchexportsretrieve-2

environmentsbatchexportsretrieve

read-only idempotent
environmentsbatchexportsupdate

environmentsbatchexportsupdate

idempotent
environmentsbatchexportsupdate-2

environmentsbatchexportsupdate

idempotent
environmentsbatchexportspartialupdate

environmentsbatchexportspartialupdate

idempotent
environmentsbatchexportspartialupdate-2

environmentsbatchexportspartialupdate

idempotent
environmentsbatchexportsdestroy

environmentsbatchexportsdestroy

idempotent
environmentsbatchexportsdestroy-2

environmentsbatchexportsdestroy

idempotent
environmentsbatchexportslogsretrieve

environmentsbatchexportslogsretrieve

read-only idempotent
environmentsbatchexportslogsretrieve-2

environmentsbatchexportslogsretrieve

read-only idempotent
pause-batchexport

Pause a BatchExport.

pause-batchexport-2

Pause a BatchExport.

environmentsbatchexportsrunteststepcreate

environmentsbatchexportsrunteststepcreate

environmentsbatchexportsrunteststepcreate-2

environmentsbatchexportsrunteststepcreate

unpause-batchexport

Unpause a BatchExport.

unpause-batchexport-2

Unpause a BatchExport.

orgorganizationsbatchexportslist

orgorganizationsbatchexportslist

read-only idempotent
orgorganizationsbatchexportslist-2

orgorganizationsbatchexportslist

read-only idempotent
orgorganizationsbatchexportscreate

orgorganizationsbatchexportscreate

orgorganizationsbatchexportscreate-2

orgorganizationsbatchexportscreate

orgorganizationsbatchexportsrunteststepnewcreate

orgorganizationsbatchexportsrunteststepnewcreate

orgorganizationsbatchexportsrunteststepnewcreate-2

orgorganizationsbatchexportsrunteststepnewcreate

orgorganizationsbatchexportstestretrieve

orgorganizationsbatchexportstestretrieve

read-only idempotent
orgorganizationsbatchexportstestretrieve-2

orgorganizationsbatchexportstestretrieve

read-only idempotent
orgorganizationsbatchexportsretrieve

orgorganizationsbatchexportsretrieve

read-only idempotent
orgorganizationsbatchexportsretrieve-2

orgorganizationsbatchexportsretrieve

read-only idempotent
orgorganizationsbatchexportsupdate

orgorganizationsbatchexportsupdate

idempotent
orgorganizationsbatchexportsupdate-2

orgorganizationsbatchexportsupdate

idempotent
orgorganizationsbatchexportspartialupdate

orgorganizationsbatchexportspartialupdate

idempotent
orgorganizationsbatchexportspartialupdate-2

orgorganizationsbatchexportspartialupdate

idempotent
orgorganizationsbatchexportsdestroy

orgorganizationsbatchexportsdestroy

idempotent
orgorganizationsbatchexportsdestroy-2

orgorganizationsbatchexportsdestroy

idempotent
orgorganizationsbatchexportslogsretrieve

orgorganizationsbatchexportslogsretrieve

read-only idempotent
orgorganizationsbatchexportslogsretrieve-2

orgorganizationsbatchexportslogsretrieve

read-only idempotent
pause-batchexport-3

Pause a BatchExport.

pause-batchexport-4

Pause a BatchExport.

orgorganizationsbatchexportsrunteststepcreate

orgorganizationsbatchexportsrunteststepcreate

orgorganizationsbatchexportsrunteststepcreate-2

orgorganizationsbatchexportsrunteststepcreate

unpause-batchexport-3

Unpause a BatchExport.

unpause-batchexport-4

Unpause a BatchExport.

batchexportslist

batchexportslist

read-only idempotent
batchexportslist-2

batchexportslist

read-only idempotent
batchexportscreate

batchexportscreate

batchexportscreate-2

batchexportscreate

batchexportsrunteststepnewcreate

batchexportsrunteststepnewcreate

batchexportsrunteststepnewcreate-2

batchexportsrunteststepnewcreate

batchexportstestretrieve

batchexportstestretrieve

read-only idempotent
batchexportstestretrieve-2

batchexportstestretrieve

read-only idempotent
viewset-batchexportbackfill-models-3

ViewSet for BatchExportBackfill models.

read-only idempotent
create-new-backfill-batchexport-2

Create a new backfill for a BatchExport.

viewset-batchexportbackfill-models-4

ViewSet for BatchExportBackfill models.

read-only idempotent
cancel-batch-export-backfill-2

Cancel a batch export backfill.

batchexportsrunslist

batchexportsrunslist

read-only idempotent
batchexportsrunslist-2

batchexportsrunslist

read-only idempotent
batchexportsrunsretrieve

batchexportsrunsretrieve

read-only idempotent
batchexportsrunsretrieve-2

batchexportsrunsretrieve

read-only idempotent
cancel-batch-export-run-3

Cancel a batch export run.

cancel-batch-export-run-4

Cancel a batch export run.

batchexportsrunslogsretrieve

batchexportsrunslogsretrieve

read-only idempotent
batchexportsrunslogsretrieve-2

batchexportsrunslogsretrieve

read-only idempotent
retry-batch-export-run-3

Retry a batch export run.

retry-batch-export-run-4

Retry a batch export run.

batchexportsretrieve

batchexportsretrieve

read-only idempotent
batchexportsretrieve-2

batchexportsretrieve

read-only idempotent
batchexportsupdate

batchexportsupdate

idempotent
batchexportsupdate-2

batchexportsupdate

idempotent
batchexportspartialupdate

batchexportspartialupdate

idempotent
batchexportspartialupdate-2

batchexportspartialupdate

idempotent
batchexportsdestroy

batchexportsdestroy

idempotent
batchexportsdestroy-2

batchexportsdestroy

idempotent
batchexportslogsretrieve

batchexportslogsretrieve

read-only idempotent
batchexportslogsretrieve-2

batchexportslogsretrieve

read-only idempotent
pause-batchexport-5

Pause a BatchExport.

pause-batchexport-6

Pause a BatchExport.

batchexportsrunteststepcreate

batchexportsrunteststepcreate

batchexportsrunteststepcreate-2

batchexportsrunteststepcreate

unpause-batchexport-5

Unpause a BatchExport.

unpause-batchexport-6

Unpause a BatchExport.

Capability Spec

posthog-batch-exports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — batch_exports
  description: 'PostHog API — batch_exports. 100 operations. Lead operation: batch_exports. Self-contained Naftiko capability
    covering one Posthog business surface.'
  tags:
  - Posthog
  - batch_exports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-batch-exports
    baseUri: ''
    description: PostHog API — batch_exports business capability. Self-contained, no shared references.
    resources:
    - name: api-environments-environment_id-batch_exports
      path: /api/environments/{environment_id}/batch_exports/
      operations:
      - name: environmentsbatchexportslist
        method: GET
        description: ''
        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: environmentsbatchexportslist
        method: GET
        description: ''
        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: environmentsbatchexportscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-run_test_step_new
      path: /api/environments/{environment_id}/batch_exports/run_test_step_new/
      operations:
      - name: environmentsbatchexportsrunteststepnewcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsrunteststepnewcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-test
      path: /api/environments/{environment_id}/batch_exports/test/
      operations:
      - name: environmentsbatchexportstestretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: environmentsbatchexportstestretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-environments-environment_id-batch_exports-batch_export_id-backfills
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/
      operations:
      - name: environmentsbatchexportsbackfillslist
        method: GET
        description: ViewSet for BatchExportBackfill models.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
      - name: environmentsbatchexportsbackfillscreate
        method: POST
        description: Create a new backfill for a BatchExport.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-batch_export_id-backfills-id
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/
      operations:
      - name: environmentsbatchexportsbackfillsretrieve
        method: GET
        description: ViewSet for BatchExportBackfill models.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export backfill.
          required: true
    - name: api-environments-environment_id-batch_exports-batch_export_id-backfills-id-cance
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/backfills/{id}/cancel/
      operations:
      - name: environmentsbatchexportsbackfillscancelcreate
        method: POST
        description: Cancel a batch export backfill.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export backfill.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-batch_export_id-runs
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/
      operations:
      - name: environmentsbatchexportsrunslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
      - name: environmentsbatchexportsrunslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
    - name: api-environments-environment_id-batch_exports-batch_export_id-runs-id
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/
      operations:
      - name: environmentsbatchexportsrunsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
      - name: environmentsbatchexportsrunsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
    - name: api-environments-environment_id-batch_exports-batch_export_id-runs-id-cancel
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/cancel/
      operations:
      - name: environmentsbatchexportsrunscancelcreate
        method: POST
        description: Cancel a batch export run.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsrunscancelcreate
        method: POST
        description: Cancel a batch export run.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-batch_export_id-runs-id-logs
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/logs/
      operations:
      - name: environmentsbatchexportsrunslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
      - name: environmentsbatchexportsrunslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
    - name: api-environments-environment_id-batch_exports-batch_export_id-runs-id-retry
      path: /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/retry/
      operations:
      - name: environmentsbatchexportsrunsretrycreate
        method: POST
        description: Retry a batch export run.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsrunsretrycreate
        method: POST
        description: Retry a batch export run.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: batch_export_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export run.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-id
      path: /api/environments/{environment_id}/batch_exports/{id}/
      operations:
      - name: environmentsbatchexportsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
      - name: environmentsbatchexportsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
      - name: environmentsbatchexportsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsbatchexportspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsbatchexportsdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
      - name: environmentsbatchexportsdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
    - name: api-environments-environment_id-batch_exports-id-logs
      path: /api/environments/{environment_id}/batch_exports/{id}/logs/
      operations:
      - name: environmentsbatchexportslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
      - name: environmentsbatchexportslogsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: after
          in: query
          type: string
          description: Only return entries after this ISO 8601 timestamp.
        - name: before
          in: query
          type: string
          description: Only return entries before this ISO 8601 timestamp.
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: instance_id
          in: query
          type: string
          description: Filter logs to a specific execution instance.
        - name: level
          in: query
          type: string
          description: 'Comma-separated log levels to include, e.g. ''WARN,ERROR''. Valid levels: DEBUG, LOG, INFO, WARN,
            ERROR.'
        - name: limit
          in: query
          type: integer
          description: Maximum number of log entries to return (1-500, default 50).
        - name: search
          in: query
          type: string
          description: Case-insensitive substring search across log messages.
    - name: api-environments-environment_id-batch_exports-id-pause
      path: /api/environments/{environment_id}/batch_exports/{id}/pause/
      operations:
      - name: environmentsbatchexportspausecreate
        method: POST
        description: Pause a BatchExport.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportspausecreate
        method: POST
        description: Pause a BatchExport.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-id-run_test_step
      path: /api/environments/{environment_id}/batch_exports/{id}/run_test_step/
      operations:
      - name: environmentsbatchexportsrunteststepcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsrunteststepcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-batch_exports-id-unpause
      path: /api/environments/{environment_id}/batch_exports/{id}/unpause/
      operations:
      - name: environmentsbatchexportsunpausecreate
        method: POST
        description: Unpause a BatchExport.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsbatchexportsunpausecreate
        method: POST
        description: Unpause a BatchExport.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-organizations-organization_id-batch_exports
      path: /api/organizations/{organization_id}/batch_exports/
      operations:
      - name: orgorganizationsbatchexportslist
        method: GET
        description: ''
        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: orgorganizationsbatchexportslist
        method: GET
        description: ''
        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: orgorganizationsbatchexportscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: orgorganizationsbatchexportscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-organizations-organization_id-batch_exports-run_test_step_new
      path: /api/organizations/{organization_id}/batch_exports/run_test_step_new/
      operations:
      - name: orgorganizationsbatchexportsrunteststepnewcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: orgorganizationsbatchexportsrunteststepnewcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-organizations-organization_id-batch_exports-test
      path: /api/organizations/{organization_id}/batch_exports/test/
      operations:
      - name: orgorganizationsbatchexportstestretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgorganizationsbatchexportstestretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-organizations-organization_id-batch_exports-id
      path: /api/organizations/{organization_id}/batch_exports/{id}/
      operations:
      - name: orgorganizationsbatchexportsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
      - name: orgorganizationsbatchexportsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
      - name: orgorganizationsbatchexportsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: orgorganizationsbatchexportsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: orgorganizationsbatchexportspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: orgorganizationsbatchexportspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this batch export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: orgorganizationsbatchexportsdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        -

# --- truncated at 32 KB (145 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/capabilities/posthog-batch-exports.yaml