Kaseya Services API

The Services API from Kaseya — 7 operation(s) for services.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /V1.0/Services/query Search services by keyword via query string · Services url parameter query #
Ask an LLM
“How do I find services whose name contains a keyword using the GET search?”
“Can I search services by keyword with a simple query string?”
Tell an agent
Search services for {search} using the GET query string.
Find service records matching {search} with the GET search.
POST /V1.0/Services/query Search services with a POST body · Services query #
Ask an LLM
“Can I send a complex filter to search services in a POST body?”
“What fields can I include when searching services with a POST query?”
Tell an agent
Search services with filter {filter} using the POST body query.
Find services matching {filter} and return {includeFields} in the POST body search.
GET /V1.0/Services/{id} Get one service record · Services query item #
Ask an LLM
“How do I look up a single service by its ID?”
“Can I fetch one service record by its ID?”
Tell an agent
Get service {id}.
Show me the service record with ID {id}.
GET /V1.0/Services/query/count Count services matching a keyword via query string · Services url parameter query count #
Ask an LLM
“How many services match a keyword when I use the GET search?”
“Can I get just the count of services matching a keyword?”
Tell an agent
Count services matching {search} using the GET query string.
Tell me how many service records match {search} with the GET search.
POST /V1.0/Services/query/count Count services matching a filter via POST body · Services query count #
Ask an LLM
“Can I get the total number of services matching a filter in a POST body?”
“What is the total count of services returned by a POST body filter?”
Tell an agent
Count services matching {filter} using the POST body query.
Tell me the total number of service records matching {filter} in the POST body search.
PUT /V1.0/Services Replace a service record · Services update entity #
Ask an LLM
“How do I fully replace an existing service record with new values?”
“Can I overwrite a service record's unit price and markup rate?”
Tell an agent
Replace service {id} with name {name} and unit price {unitPrice}.
Overwrite service {id} with unit cost {unitCost} and markup rate {markupRate}.
POST /V1.0/Services Create a service record · Services create entity #
Ask an LLM
“How do I add a new service to the catalog?”
“Can I create a service with a billing code and unit price?”
Tell an agent
Create a service named {name} with unit price {unitPrice}.
Add a new service {name} with billing code {billingCodeID}.
PATCH /V1.0/Services Partially update a service record · Services patch entity #
Ask an LLM
“Can I change just a service's description without resending the rest?”
“How do I deactivate a service without replacing it?”
Tell an agent
Patch service {id} to set its description to {description}.
Set service {id} inactive to {isActive}.
GET /V1.0/Services/entityInformation Get service entity information · Services query entity information #
Ask an LLM
“What field definitions can I use when working with service records?”
“Can I see the entity information available through the service API?”
Tell an agent
Get service entity information using integration {integration} and user {user}.
Show the field definitions I can set on service records.
GET /V1.0/Services/entityInformation/fields List service field definitions · Services query field definitions #
Ask an LLM
“Which fields are available on service records in the API?”
“Can I get the full list of field definitions for services?”
Tell an agent
List the field definitions for service records with integration {integration}, user {user}, secret {secret}.
Fetch service field definitions.
GET /V1.0/Services/entityInformation/userDefinedFields List user-defined service fields · Services query user defined field definitions #
Ask an LLM
“What user-defined fields exist on service records?”
“Can I get the UDF definitions for services?”
Tell an agent
List user-defined field definitions for service records using integration {integration}, user {user}, secret {secret}.
Show the custom fields on service records.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kaseya:kaseya-services-api"
All apis
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.

Get an API 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 Specification

kaseya-services-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Datto|Autotask PSA Rest Services API
servers:
- url: https://webservices2.autotask.net/ATServicesRest
tags:
- name: Services
paths:
  /V1.0/Services/query:
    get:
      tags:
      - Services
      operationId: Services_UrlParameterQuery
      parameters:
      - name: search
        in: query
        required: true
        schema:
          type: string
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceModel_Service'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceModel_Service'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services url parameter query
      x-summary-source: derived
    post:
      tags:
      - Services
      operationId: Services_Query
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceModel_Service'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceModel_Service'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryModel'
        required: true
      summary: Services query
      x-summary-source: derived
  /V1.0/Services/{id}:
    get:
      tags:
      - Services
      operationId: Services_QueryItem
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemQueryResultModel_ServiceModel_Service'
            text/json:
              schema:
                $ref: '#/components/schemas/ItemQueryResultModel_ServiceModel_Service'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services query item
      x-summary-source: derived
  /V1.0/Services/query/count:
    get:
      tags:
      - Services
      operationId: Services_UrlParameterQueryCount
      parameters:
      - name: search
        in: query
        required: true
        schema:
          type: string
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services url parameter query count
      x-summary-source: derived
    post:
      tags:
      - Services
      operationId: Services_QueryCount
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryModel'
        required: true
      summary: Services query count
      x-summary-source: derived
  /V1.0/Services:
    put:
      tags:
      - Services
      operationId: Services_UpdateEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceModel'
        required: true
      summary: Services update entity
      x-summary-source: derived
    post:
      tags:
      - Services
      operationId: Services_CreateEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceModel'
        required: true
      summary: Services create entity
      x-summary-source: derived
    patch:
      tags:
      - Services
      operationId: Services_PatchEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceModel'
        required: true
      summary: Services patch entity
      x-summary-source: derived
  /V1.0/Services/entityInformation:
    get:
      tags:
      - Services
      operationId: Services_QueryEntityInformation
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/EntityInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services query entity information
      x-summary-source: derived
  /V1.0/Services/entityInformation/fields:
    get:
      tags:
      - Services
      operationId: Services_QueryFieldDefinitions
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FieldInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services query field definitions
      x-summary-source: derived
  /V1.0/Services/entityInformation/userDefinedFields:
    get:
      tags:
      - Services
      operationId: Services_QueryUserDefinedFieldDefinitions
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDefinedFieldInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/UserDefinedFieldInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Services query user defined field definitions
      x-summary-source: derived
components:
  schemas:
    RestUserAccessLevel:
      type: object
      properties: {}
    EntityInformationModel:
      type: object
      properties:
        name:
          type: string
          readOnly: true
        canCreate:
          type: boolean
          readOnly: true
        canDelete:
          type: boolean
          readOnly: true
        canQuery:
          type: boolean
          readOnly: true
        canUpdate:
          type: boolean
          readOnly: true
        userAccessForCreate:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForDelete:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForQuery:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForUpdate:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        hasUserDefinedFields:
          type: boolean
          readOnly: true
        supportsWebhookCallouts:
          type: boolean
          readOnly: true
    FieldInformationResultModel:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/FieldInformationModel'
            readOnly: true
    UserDefinedFieldInformationResultModel:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
            readOnly: true
    UserDefinedField:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
    QueryModel:
      type: object
      properties:
        maxRecords:
          format: int32
          type: integer
        includeFields:
          type: array
          items:
            type: string
        filter:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
      example:
        MaxRecords: 10
        IncludeFields: []
        Filter:
        - op: gt
          field: id
          value: 0
          udf: false
          items: []
    Field:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        type:
          type: string
        length:
          format: int32
          type: integer
        description:
          type: string
        isRequired:
          type: boolean
        isReadOnly:
          type: boolean
        isQueryable:
          type: boolean
        isReference:
          type: boolean
        referenceEntityType:
          type: string
        isPickList:
          type: boolean
        picklistValues:
          type: array
          items:
            $ref: '#/components/schemas/PickListValue'
        picklistParentValueField:
          type: string
        defaultValue:
          type: string
        isSupportedWebhookField:
          $ref: '#/components/schemas/Object'
    EntityInformationResultModel:
      type: object
      properties:
        info:
          $ref: '#/components/schemas/EntityInformationModel'
          readOnly: true
    PagingModel:
      type: object
      properties:
        count:
          format: int32
          type: integer
        requestCount:
          format: int32
          type: integer
          readOnly: true
        prevPageUrl:
          type: string
        nextPageUrl:
          type: string
    Object:
      type: object
      properties: {}
    Filter:
      type: object
      properties:
        op:
          type: string
        field:
          type: string
        udf:
          type: boolean
        value:
          description: 'Can be either an Integer, String, Boolean, an Array of Integers, or an Array of Strings. '
          type: object
          properties: {}
        items:
          description: An Array of Filter objects
          type: array
          items:
            $ref: '#/components/schemas/Filter'
    ServiceModel:
      type: object
      properties:
        id:
          format: int64
          type: integer
        billingCodeID:
          format: int32
          type: integer
        createDate:
          format: date-time
          type: string
        creatorResourceID:
          format: int32
          type: integer
        description:
          type: string
        invoiceDescription:
          type: string
        isActive:
          type: boolean
        lastModifiedDate:
          format: date-time
          type: string
        markupRate:
          format: double
          type: number
        name:
          type: string
        periodType:
          format: int32
          type: integer
        serviceLevelAgreementID:
          format: int64
          type: integer
        unitCost:
          format: double
          type: number
        unitPrice:
          format: double
          type: number
        updateResourceID:
          format: int32
          type: integer
        vendorCompanyID:
          format: int32
          type: integer
        manufacturerServiceProvider:
          type: string
        manufacturerServiceProviderProductNumber:
          type: string
        catalogNumberPartNumber:
          type: string
        sku:
          type: string
        internalID:
          type: string
        externalID:
          type: string
        url:
          type: string
        userDefinedFields:
          type: array
          items:
            $ref: '#/components/schemas/UserDefinedField'
    QueryActionResult_ServiceModel_Service:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/ServiceModel'
        pageDetails:
          $ref: '#/components/schemas/PagingModel'
    OperationResultModel:
      type: object
      properties:
        itemId:
          $ref: '#/components/schemas/Object'
    FieldInformationModel:
      type: object
      properties:
        name:
          type: string
        dataType:
          type: string
        length:
          format: int32
          type: integer
        isRequired:
          type: boolean
        isReadOnly:
          type: boolean
        isQueryable:
          type: boolean
        isReference:
          type: boolean
        referenceEntityType:
          type: string
        isPickList:
          type: boolean
        picklistValues:
          type: array
          items:
            $ref: '#/components/schemas/PickListValue'
        picklistParentValueField:
          type: string
        isSupportedWebhookField:
          $ref: '#/components/schemas/Object'
    PickListValue:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        isDefaultValue:
          type: boolean
        sortOrder:
          format: int32
          type: integer
        parentValue:
          type: string
        isActive:
          type: boolean
        isSystem:
          type: boolean
    ItemQueryResultModel_ServiceModel_Service:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/ServiceModel'
    QueryCountResultModel:
      type: object
      properties:
        queryCount:
          format: int32
          type: integer
x-provenance:
  method: harvested
  publisher: Kaseya
  source: https://webservices5.autotask.net/ATServicesRest/swagger/docs/v1
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)