AssetLab Bulk Operations API
The Bulk Operations API from AssetLab — 1 operation(s) for bulk operations.
The Bulk Operations API from AssetLab — 1 operation(s) for bulk operations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/assetlab-ca:assetlab-ca-bulk-operations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Assetlab Ca Bulk Operations API
version: '1.0'
contact:
name: AssetLab Support
url: https://assetlab.ca
email: support@assetlab.ca
license:
name: Proprietary
description: 'Operations tagged Bulk Operations across 2 of this provider''s published API definitions: assetlab-ca-openapi.yaml, assetlab-ca-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://ksirnjovowpvamgcnapt.supabase.co/functions/v1/api-gateway/v1
description: Production
security:
- BearerAuth: []
tags:
- name: Bulk Operations
paths:
/{resource}/bulk:
post:
operationId: bulkCreate
summary: Bulk create any resource (max 100)
tags:
- Bulk Operations
description: 'Generic bulk create endpoint. Replace `{resource}` with any writable resource
(e.g. `sites`, `buildings`, `vendors`, `parts`, `pm-schedules`, etc.).
Each item is processed independently — one failure does not affect others.
Requires `{resource}:write` scope. Counts as 1 rate-limit request.'
parameters:
- name: resource
in: path
required: true
schema:
type: string
description: Resource name (e.g. sites, buildings, vendors, parts)
requestBody:
required: true
content:
application/json:
schema:
type: array
minItems: 1
maxItems: 100
items:
type: object
responses:
'201':
description: All items created
content:
application/json:
schema:
$ref: '#/components/schemas/BulkResponse'
'207':
$ref: '#/components/responses/MultiStatus'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
patch:
operationId: bulkUpdate
summary: Bulk update any resource (max 100)
tags:
- Bulk Operations
description: 'Generic bulk update endpoint. Replace `{resource}` with any writable resource.
Each item must include an `id` field (UUID). Each item is processed independently.
Requires `{resource}:write` scope. Counts as 1 rate-limit request.'
parameters:
- name: resource
in: path
required: true
schema:
type: string
description: Resource name (e.g. assets, work-orders, sites)
requestBody:
required: true
content:
application/json:
schema:
type: array
minItems: 1
maxItems: 100
items:
type: object
required:
- id
properties:
id:
type: string
format: uuid
responses:
'200':
description: All items updated
content:
application/json:
schema:
$ref: '#/components/schemas/BulkResponse'
'207':
$ref: '#/components/responses/MultiStatus'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://ksirnjovowpvamgcnapt.supabase.co/functions/v1/api-gateway/v1
description: Production
components:
responses:
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid request (validation error or malformed input)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
MultiStatus:
description: Partial success — some items succeeded, others failed
content:
application/json:
schema:
$ref: '#/components/schemas/BulkResponse'
Forbidden:
description: Insufficient permissions - missing scope, or a resource the organization's plan does not include
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
BulkItemResult:
type: object
properties:
index:
type: integer
description: Zero-based index in the request array
success:
type: boolean
data:
type: object
description: Created/updated record (on success)
error:
type: string
description: Error message (on failure)
details:
type: array
description: Validation error details (on failure)
items:
type: object
properties:
field:
type: string
message:
type: string
BulkSummary:
type: object
properties:
total:
type: integer
description: Total items in request
succeeded:
type: integer
description: Number that succeeded
failed:
type: integer
description: Number that failed
BulkResponse:
type: object
properties:
summary:
$ref: '#/components/schemas/BulkSummary'
results:
type: array
items:
$ref: '#/components/schemas/BulkItemResult'
Error:
type: object
properties:
error:
type: string
example: Asset not found
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: API key from AssetLab Settings > API Keys
x-refined-from:
- assetlab-ca-openapi.yaml
- assetlab-ca-openapi.yaml
x-tagGroups:
- name: Core
tags:
- Assets
- Work Orders
- Work Requests
- PM Schedules
- PM Templates
- name: Facilities
tags:
- Sites
- Buildings
- Locations
- name: Feature Classification
tags:
- Systems
- System Groups
- System Classes
- Asset Types
- Asset Type Groups
- Manufacturers
- name: Projects
tags:
- Projects
- Project Sites
- Project Buildings
- Project Locations
- Project System Classes
- Project System Groups
- Project Systems
- Project Assets
- Project Tasks
- Project Milestones
- Project Phases
- Project Budget Items
- Project Time Entries
- Project Comments
- Project Risks
- Project Document Folder Templates
- name: Financial
tags:
- Budgets
- Invoices
- Purchase Orders
- Expenses
- Change Orders
- Cost Categories
- Asset Costs
- Asset Replacement Plans
- name: Vendors & Contracts
tags:
- Vendors
- Contracts
- Vendor Site Assignments
- Contract Sites
- name: Compliance
tags:
- Compliance
- Compliance Records
- name: Parts & Inventory
tags:
- Parts
- Part Categories
- name: Comments & Documents
tags:
- Asset Comments
- Work Order Comments
- Asset Documents
- Project Documents
- Contract Documents
- Attachments
- Upload URLs
- name: Level of Service
tags:
- Service Areas
- Service Area System Classes
- Service Area Sites
- LoS Measures
- LoS Measurements
- LoS Proposed Targets
- LoS Targets History
- System LoS Targets
- Infrastructure LoS Targets
- Criticality Modifiers
- LoS Consequences
- LoS Status Snapshots
- name: Infrastructure
tags:
- Infrastructure Feature Classes
- Infrastructure Networks
- Infrastructure Assets
- Infrastructure Asset Inspections
- name: Dashboard & Analytics
tags:
- Dashboard
- Dashboard Snapshots
- Site FCI History
- Asset Risk History
- Asset Condition Assessments
- name: Configuration
tags:
- Asset Statuses
- Work Categories
- Building Types
- Location Types
- Custom Field Definitions
- Custom Field Values