Rulebase Sla Policies API
The Sla Policies API from Rulebase — 2 operation(s) for sla policies.
The Sla Policies API from Rulebase — 2 operation(s) for sla policies.
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/rulebase:rulebase-sla-policies-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: Rulebase API2 Sla Policies API
version: 0.0.1
tags:
- name: Sla Policies
paths:
/sla_policies:
get:
parameters:
- schema:
type: integer
minimum: 0
exclusiveMinimum: true
required: false
name: page[page]
in: query
- schema:
type: integer
description: Values above 100 are clamped to 100
minimum: 1
required: false
name: page[limit]
in: query
responses:
'200':
description: SLA policies for the current organization
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: number
nullable: true
external_id:
type: string
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
created_at:
type: string
updated_at:
type: string
conditions:
type: array
items:
type: object
properties:
id:
type: string
bool_group:
type: string
field:
type: string
operator:
type: string
value:
nullable: true
created_at:
type: string
updated_at:
type: string
required:
- id
- bool_group
- field
- operator
- created_at
- updated_at
targets:
type: array
items:
type: object
properties:
id:
type: string
business_hours_only:
type: boolean
goal:
type: number
metric:
type: string
priority:
type: number
created_at:
type: string
updated_at:
type: string
required:
- id
- business_hours_only
- goal
- metric
- priority
- created_at
- updated_at
required:
- id
- name
- description
- active
- default
- position
- external_id
- pause_statuses
- created_at
- updated_at
- conditions
- targets
meta:
type: object
properties:
page:
type: object
properties:
next:
type: number
nullable: true
limit:
type: number
total:
type: number
required:
- next
- limit
- total
required:
- page
required:
- data
- meta
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Sla Policies
summary: Get sla policies
x-summary-source: derived
operationId: getSlaPolicies
x-operation-id-source: derived
post:
requestBody:
content:
application/json:
schema:
type: object
properties:
sla_policy:
type: object
properties:
name:
type: string
nullable: true
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: integer
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
conditions:
type: array
nullable: true
items:
type: object
properties:
bool_group:
type: string
nullable: true
field:
type: string
nullable: true
operator:
type: string
nullable: true
value:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
targets:
type: array
nullable: true
items:
type: object
properties:
business_hours_only:
type: boolean
nullable: true
goal:
anyOf:
- type: string
- type: number
- nullable: true
metric:
type: string
nullable: true
priority:
anyOf:
- type: integer
- type: string
- nullable: true
required:
- sla_policy
responses:
'201':
description: The SLA policy
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: number
nullable: true
external_id:
type: string
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
created_at:
type: string
updated_at:
type: string
conditions:
type: array
items:
type: object
properties:
id:
type: string
bool_group:
type: string
field:
type: string
operator:
type: string
value:
nullable: true
created_at:
type: string
updated_at:
type: string
required:
- id
- bool_group
- field
- operator
- created_at
- updated_at
targets:
type: array
items:
type: object
properties:
id:
type: string
business_hours_only:
type: boolean
goal:
type: number
metric:
type: string
priority:
type: number
created_at:
type: string
updated_at:
type: string
required:
- id
- business_hours_only
- goal
- metric
- priority
- created_at
- updated_at
required:
- id
- name
- description
- active
- default
- position
- external_id
- pause_statuses
- created_at
- updated_at
- conditions
- targets
required:
- data
'400':
description: Invalid parameters
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: SLA policy not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Sla Policies
summary: Create sla policies
x-summary-source: derived
operationId: postSlaPolicies
x-operation-id-source: derived
/sla_policies/{id}:
get:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'200':
description: An SLA policy
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: number
nullable: true
external_id:
type: string
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
created_at:
type: string
updated_at:
type: string
conditions:
type: array
items:
type: object
properties:
id:
type: string
bool_group:
type: string
field:
type: string
operator:
type: string
value:
nullable: true
created_at:
type: string
updated_at:
type: string
required:
- id
- bool_group
- field
- operator
- created_at
- updated_at
targets:
type: array
items:
type: object
properties:
id:
type: string
business_hours_only:
type: boolean
goal:
type: number
metric:
type: string
priority:
type: number
created_at:
type: string
updated_at:
type: string
required:
- id
- business_hours_only
- goal
- metric
- priority
- created_at
- updated_at
required:
- id
- name
- description
- active
- default
- position
- external_id
- pause_statuses
- created_at
- updated_at
- conditions
- targets
required:
- data
'404':
description: SLA policy not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Sla Policies
summary: Get sla policies by id
x-summary-source: derived
operationId: getSlaPoliciesById
x-operation-id-source: derived
patch:
parameters:
- schema:
type: string
required: true
name: id
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
sla_policy:
type: object
properties:
name:
type: string
nullable: true
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: integer
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
conditions:
type: array
nullable: true
items:
type: object
properties:
bool_group:
type: string
nullable: true
field:
type: string
nullable: true
operator:
type: string
nullable: true
value:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
targets:
type: array
nullable: true
items:
type: object
properties:
business_hours_only:
type: boolean
nullable: true
goal:
anyOf:
- type: string
- type: number
- nullable: true
metric:
type: string
nullable: true
priority:
anyOf:
- type: integer
- type: string
- nullable: true
required:
- sla_policy
responses:
'200':
description: The SLA policy
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
nullable: true
active:
type: boolean
nullable: true
default:
type: boolean
nullable: true
position:
type: number
nullable: true
external_id:
type: string
nullable: true
pause_statuses:
type: array
nullable: true
items:
type: string
created_at:
type: string
updated_at:
type: string
conditions:
type: array
items:
type: object
properties:
id:
type: string
bool_group:
type: string
field:
type: string
operator:
type: string
value:
nullable: true
created_at:
type: string
updated_at:
type: string
required:
- id
- bool_group
- field
- operator
- created_at
- updated_at
targets:
type: array
items:
type: object
properties:
id:
type: string
business_hours_only:
type: boolean
goal:
type: number
metric:
type: string
priority:
type: number
created_at:
type: string
updated_at:
type: string
required:
- id
- business_hours_only
- goal
- metric
- priority
- created_at
- updated_at
required:
- id
- name
- description
- active
- default
- position
- external_id
- pause_statuses
- created_at
- updated_at
- conditions
- targets
required:
- data
'400':
description: Invalid parameters
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: SLA policy not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Sla Policies
summary: Update sla policies by id
x-summary-source: derived
operationId: patchSlaPoliciesById
x-operation-id-source: derived
delete:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'204':
description: SLA policy discarded
'400':
description: Invalid parameters
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: SLA policy not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Sla Policies
summary: Delete sla policies by id
x-summary-source: derived
operationId: deleteSlaPoliciesById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key