naftiko: 1.0.0-alpha2 info: label: HubSpot CRM Companies API — Batch description: 'HubSpot CRM Companies API — Batch. 4 operations. Lead operation: Hubspot Batch Archive Companies. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - Batch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: crm-companies-batch baseUri: https://api.hubapi.com description: HubSpot CRM Companies API — Batch business capability. Self-contained, no shared references. resources: - name: crm-v3-objects-companies-batch-archive path: /crm/v3/objects/companies/batch/archive operations: - name: batcharchivecompanies method: POST description: Hubspot Batch Archive Companies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-companies-batch-create path: /crm/v3/objects/companies/batch/create operations: - name: batchcreatecompanies method: POST description: Hubspot Batch Create Companies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-companies-batch-read path: /crm/v3/objects/companies/batch/read operations: - name: batchreadcompanies method: POST description: Hubspot Batch Read Companies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-companies-batch-update path: /crm/v3/objects/companies/batch/update operations: - name: batchupdatecompanies method: POST description: Hubspot Batch Update Companies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: crm-companies-batch-rest port: 8080 description: REST adapter for HubSpot CRM Companies API — Batch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/v3/objects/companies/batch/archive name: crm-v3-objects-companies-batch-archive description: REST surface for crm-v3-objects-companies-batch-archive. operations: - method: POST name: batcharchivecompanies description: Hubspot Batch Archive Companies call: crm-companies-batch.batcharchivecompanies with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/companies/batch/create name: crm-v3-objects-companies-batch-create description: REST surface for crm-v3-objects-companies-batch-create. operations: - method: POST name: batchcreatecompanies description: Hubspot Batch Create Companies call: crm-companies-batch.batchcreatecompanies with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/companies/batch/read name: crm-v3-objects-companies-batch-read description: REST surface for crm-v3-objects-companies-batch-read. operations: - method: POST name: batchreadcompanies description: Hubspot Batch Read Companies call: crm-companies-batch.batchreadcompanies with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/companies/batch/update name: crm-v3-objects-companies-batch-update description: REST surface for crm-v3-objects-companies-batch-update. operations: - method: POST name: batchupdatecompanies description: Hubspot Batch Update Companies call: crm-companies-batch.batchupdatecompanies with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: crm-companies-batch-mcp port: 9090 transport: http description: MCP adapter for HubSpot CRM Companies API — Batch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-batch-archive-companies description: Hubspot Batch Archive Companies hints: readOnly: false destructive: false idempotent: false call: crm-companies-batch.batcharchivecompanies with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-create-companies description: Hubspot Batch Create Companies hints: readOnly: false destructive: false idempotent: false call: crm-companies-batch.batchcreatecompanies with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-read-companies description: Hubspot Batch Read Companies hints: readOnly: false destructive: false idempotent: false call: crm-companies-batch.batchreadcompanies with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-update-companies description: Hubspot Batch Update Companies hints: readOnly: false destructive: false idempotent: false call: crm-companies-batch.batchupdatecompanies with: body: tools.body outputParameters: - type: object mapping: $.