naftiko: 1.0.0-alpha2 info: label: PostHog API — external_data_schemas description: 'PostHog API — external_data_schemas. 22 operations. Lead operation: external_data_schemas. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - external_data_schemas created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-external-data-schemas baseUri: '' description: PostHog API — external_data_schemas business capability. Self-contained, no shared references. resources: - name: api-environments-environment_id-external_data_schemas path: /api/environments/{environment_id}/external_data_schemas/ operations: - name: environmentsexternaldataschemaslist 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: search in: query type: string description: A search term. - name: environmentsexternaldataschemascreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-environments-environment_id-external_data_schemas-id path: /api/environments/{environment_id}/external_data_schemas/{id}/ operations: - name: environmentsexternaldataschemasretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: environmentsexternaldataschemasupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentsexternaldataschemaspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentsexternaldataschemasdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: api-environments-environment_id-external_data_schemas-id-cancel path: /api/environments/{environment_id}/external_data_schemas/{id}/cancel/ operations: - name: environmentsexternaldataschemascancelcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-environments-environment_id-external_data_schemas-id-delete_data path: /api/environments/{environment_id}/external_data_schemas/{id}/delete_data/ operations: - name: environmentsexternaldataschemasdeletedatadestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: api-environments-environment_id-external_data_schemas-id-incremental_fields path: /api/environments/{environment_id}/external_data_schemas/{id}/incremental_fields/ operations: - name: environmentsexternaldataschemasincrementalfieldscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-environments-environment_id-external_data_schemas-id-reload path: /api/environments/{environment_id}/external_data_schemas/{id}/reload/ operations: - name: environmentsexternaldataschemasreloadcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-environments-environment_id-external_data_schemas-id-resync path: /api/environments/{environment_id}/external_data_schemas/{id}/resync/ operations: - name: environmentsexternaldataschemasresynccreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-external_data_schemas path: /api/projects/{project_id}/external_data_schemas/ operations: - name: externaldataschemaslist 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: search in: query type: string description: A search term. - name: externaldataschemascreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-external_data_schemas-id path: /api/projects/{project_id}/external_data_schemas/{id}/ operations: - name: externaldataschemasretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: externaldataschemasupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: externaldataschemaspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: externaldataschemasdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: api-projects-project_id-external_data_schemas-id-cancel path: /api/projects/{project_id}/external_data_schemas/{id}/cancel/ operations: - name: externaldataschemascancelcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-external_data_schemas-id-delete_data path: /api/projects/{project_id}/external_data_schemas/{id}/delete_data/ operations: - name: externaldataschemasdeletedatadestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: api-projects-project_id-external_data_schemas-id-incremental_fields path: /api/projects/{project_id}/external_data_schemas/{id}/incremental_fields/ operations: - name: externaldataschemasincrementalfieldscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-external_data_schemas-id-reload path: /api/projects/{project_id}/external_data_schemas/{id}/reload/ operations: - name: externaldataschemasreloadcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-external_data_schemas-id-resync path: /api/projects/{project_id}/external_data_schemas/{id}/resync/ operations: - name: externaldataschemasresynccreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this external data schema. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-external-data-schemas-rest port: 8080 description: REST adapter for PostHog API — external_data_schemas. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/environments/{environment-id}/external-data-schemas name: api-environments-environment-id-external-data-schemas description: REST surface for api-environments-environment_id-external_data_schemas. operations: - method: GET name: environmentsexternaldataschemaslist description: environmentsexternaldataschemaslist call: posthog-external-data-schemas.environmentsexternaldataschemaslist with: limit: rest.limit offset: rest.offset search: rest.search outputParameters: - type: object mapping: $. - method: POST name: environmentsexternaldataschemascreate description: environmentsexternaldataschemascreate call: posthog-external-data-schemas.environmentsexternaldataschemascreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id} name: api-environments-environment-id-external-data-schemas-id description: REST surface for api-environments-environment_id-external_data_schemas-id. operations: - method: GET name: environmentsexternaldataschemasretrieve description: environmentsexternaldataschemasretrieve call: posthog-external-data-schemas.environmentsexternaldataschemasretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: environmentsexternaldataschemasupdate description: environmentsexternaldataschemasupdate call: posthog-external-data-schemas.environmentsexternaldataschemasupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: environmentsexternaldataschemaspartialupdate description: environmentsexternaldataschemaspartialupdate call: posthog-external-data-schemas.environmentsexternaldataschemaspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: environmentsexternaldataschemasdestroy description: environmentsexternaldataschemasdestroy call: posthog-external-data-schemas.environmentsexternaldataschemasdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id}/cancel name: api-environments-environment-id-external-data-schemas-id-cancel description: REST surface for api-environments-environment_id-external_data_schemas-id-cancel. operations: - method: POST name: environmentsexternaldataschemascancelcreate description: environmentsexternaldataschemascancelcreate call: posthog-external-data-schemas.environmentsexternaldataschemascancelcreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id}/delete-data name: api-environments-environment-id-external-data-schemas-id-delete-data description: REST surface for api-environments-environment_id-external_data_schemas-id-delete_data. operations: - method: DELETE name: environmentsexternaldataschemasdeletedatadestroy description: environmentsexternaldataschemasdeletedatadestroy call: posthog-external-data-schemas.environmentsexternaldataschemasdeletedatadestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id}/incremental-fields name: api-environments-environment-id-external-data-schemas-id-incremental-fields description: REST surface for api-environments-environment_id-external_data_schemas-id-incremental_fields. operations: - method: POST name: environmentsexternaldataschemasincrementalfieldscreate description: environmentsexternaldataschemasincrementalfieldscreate call: posthog-external-data-schemas.environmentsexternaldataschemasincrementalfieldscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id}/reload name: api-environments-environment-id-external-data-schemas-id-reload description: REST surface for api-environments-environment_id-external_data_schemas-id-reload. operations: - method: POST name: environmentsexternaldataschemasreloadcreate description: environmentsexternaldataschemasreloadcreate call: posthog-external-data-schemas.environmentsexternaldataschemasreloadcreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/external-data-schemas/{id}/resync name: api-environments-environment-id-external-data-schemas-id-resync description: REST surface for api-environments-environment_id-external_data_schemas-id-resync. operations: - method: POST name: environmentsexternaldataschemasresynccreate description: environmentsexternaldataschemasresynccreate call: posthog-external-data-schemas.environmentsexternaldataschemasresynccreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas name: api-projects-project-id-external-data-schemas description: REST surface for api-projects-project_id-external_data_schemas. operations: - method: GET name: externaldataschemaslist description: externaldataschemaslist call: posthog-external-data-schemas.externaldataschemaslist with: limit: rest.limit offset: rest.offset search: rest.search outputParameters: - type: object mapping: $. - method: POST name: externaldataschemascreate description: externaldataschemascreate call: posthog-external-data-schemas.externaldataschemascreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id} name: api-projects-project-id-external-data-schemas-id description: REST surface for api-projects-project_id-external_data_schemas-id. operations: - method: GET name: externaldataschemasretrieve description: externaldataschemasretrieve call: posthog-external-data-schemas.externaldataschemasretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: externaldataschemasupdate description: externaldataschemasupdate call: posthog-external-data-schemas.externaldataschemasupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: externaldataschemaspartialupdate description: externaldataschemaspartialupdate call: posthog-external-data-schemas.externaldataschemaspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: externaldataschemasdestroy description: externaldataschemasdestroy call: posthog-external-data-schemas.externaldataschemasdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id}/cancel name: api-projects-project-id-external-data-schemas-id-cancel description: REST surface for api-projects-project_id-external_data_schemas-id-cancel. operations: - method: POST name: externaldataschemascancelcreate description: externaldataschemascancelcreate call: posthog-external-data-schemas.externaldataschemascancelcreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id}/delete-data name: api-projects-project-id-external-data-schemas-id-delete-data description: REST surface for api-projects-project_id-external_data_schemas-id-delete_data. operations: - method: DELETE name: externaldataschemasdeletedatadestroy description: externaldataschemasdeletedatadestroy call: posthog-external-data-schemas.externaldataschemasdeletedatadestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id}/incremental-fields name: api-projects-project-id-external-data-schemas-id-incremental-fields description: REST surface for api-projects-project_id-external_data_schemas-id-incremental_fields. operations: - method: POST name: externaldataschemasincrementalfieldscreate description: externaldataschemasincrementalfieldscreate call: posthog-external-data-schemas.externaldataschemasincrementalfieldscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id}/reload name: api-projects-project-id-external-data-schemas-id-reload description: REST surface for api-projects-project_id-external_data_schemas-id-reload. operations: - method: POST name: externaldataschemasreloadcreate description: externaldataschemasreloadcreate call: posthog-external-data-schemas.externaldataschemasreloadcreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/external-data-schemas/{id}/resync name: api-projects-project-id-external-data-schemas-id-resync description: REST surface for api-projects-project_id-external_data_schemas-id-resync. operations: - method: POST name: externaldataschemasresynccreate description: externaldataschemasresynccreate call: posthog-external-data-schemas.externaldataschemasresynccreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-external-data-schemas-mcp port: 9090 transport: http description: MCP adapter for PostHog API — external_data_schemas. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: environmentsexternaldataschemaslist description: environmentsexternaldataschemaslist hints: readOnly: true destructive: false idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemaslist with: limit: tools.limit offset: tools.offset search: tools.search outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemascreate description: environmentsexternaldataschemascreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.environmentsexternaldataschemascreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasretrieve description: environmentsexternaldataschemasretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemasretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasupdate description: environmentsexternaldataschemasupdate hints: readOnly: false destructive: false idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemasupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemaspartialupdate description: environmentsexternaldataschemaspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemaspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasdestroy description: environmentsexternaldataschemasdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemasdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemascancelcreate description: environmentsexternaldataschemascancelcreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.environmentsexternaldataschemascancelcreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasdeletedatadestroy description: environmentsexternaldataschemasdeletedatadestroy hints: readOnly: false destructive: true idempotent: true call: posthog-external-data-schemas.environmentsexternaldataschemasdeletedatadestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasincrementalfieldscreate description: environmentsexternaldataschemasincrementalfieldscreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.environmentsexternaldataschemasincrementalfieldscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasreloadcreate description: environmentsexternaldataschemasreloadcreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.environmentsexternaldataschemasreloadcreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentsexternaldataschemasresynccreate description: environmentsexternaldataschemasresynccreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.environmentsexternaldataschemasresynccreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemaslist description: externaldataschemaslist hints: readOnly: true destructive: false idempotent: true call: posthog-external-data-schemas.externaldataschemaslist with: limit: tools.limit offset: tools.offset search: tools.search outputParameters: - type: object mapping: $. - name: externaldataschemascreate description: externaldataschemascreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.externaldataschemascreate with: body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemasretrieve description: externaldataschemasretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-external-data-schemas.externaldataschemasretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: externaldataschemasupdate description: externaldataschemasupdate hints: readOnly: false destructive: false idempotent: true call: posthog-external-data-schemas.externaldataschemasupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemaspartialupdate description: externaldataschemaspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-external-data-schemas.externaldataschemaspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemasdestroy description: externaldataschemasdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-external-data-schemas.externaldataschemasdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: externaldataschemascancelcreate description: externaldataschemascancelcreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.externaldataschemascancelcreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemasdeletedatadestroy description: externaldataschemasdeletedatadestroy hints: readOnly: false destructive: true idempotent: true call: posthog-external-data-schemas.externaldataschemasdeletedatadestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: externaldataschemasincrementalfieldscreate description: externaldataschemasincrementalfieldscreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.externaldataschemasincrementalfieldscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemasreloadcreate description: externaldataschemasreloadcreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.externaldataschemasreloadcreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: externaldataschemasresynccreate description: externaldataschemasresynccreate hints: readOnly: false destructive: false idempotent: false call: posthog-external-data-schemas.externaldataschemasresynccreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.