How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Prefect SLAs API

The SLAs API from Prefect — 9 operation(s) for slas.

Prefect SLAs API is one of 63 APIs that Prefect publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include SLAs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, and an AsyncAPI specification.

This API exposes 12 operations across 9 paths, and defines 52 schemas. It is described by OpenAPI 3.2.0, at version 0.8.4.

12 operations 9 paths 52 schemas 2 DELETE3 GET1 PATCH6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.8.4
Resource Areas
1

Paths & Operations 12

Across 9 paths, the API surfaces 12 operations — 2 DELETE, 3 GET, 1 PATCH, 6 POST. Each is listed below with its method, path, parameters, and response codes.

SLAs 12
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/
Create Sla
create_sla_api_accounts__account_id__workspaces__workspace_id__slas__post 2 params body → 201422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/apply-resource-slas/{resource_id}
Apply Slas
apply_slas_api_accounts__account_id__workspaces__workspace_id__slas_apply_resource_slas__resource_id__post 3 params body → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/filter
Read Slas
read_slas_api_accounts__account_id__workspaces__workspace_id__slas_filter_post 3 params body → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/by-owner/{owner_resource}
Read Slas By Owner Resource
read_slas_by_owner_resource_api_accounts__account_id__workspaces__workspace_id__slas_by_owner__owner_resource__post 4 params body → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/{sla_id}
Read Sla
read_sla_api_accounts__account_id__workspaces__workspace_id__slas__sla_id__get 3 params → 200422
PATCH
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/{sla_id}
Update Sla
update_sla_api_accounts__account_id__workspaces__workspace_id__slas__sla_id__patch 3 params body → 200422
DELETE
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/{sla_id}
Delete Sla
delete_sla_api_accounts__account_id__workspaces__workspace_id__slas__sla_id__delete 3 params → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/flow-runs
Read Flow Runs
read_flow_runs_api_accounts__account_id__workspaces__workspace_id__slas_flow_runs_post 2 params body → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/default
Create Default Sla
create_default_sla_api_accounts__account_id__workspaces__workspace_id__slas_default_post 2 params body → 201422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/default/list
Read Default Sla List
read_default_sla_list_api_accounts__account_id__workspaces__workspace_id__slas_default_list_get 2 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/default/{sla_severity}
Read Default Sla
read_default_sla_api_accounts__account_id__workspaces__workspace_id__slas_default__sla_severity__get 3 params → 200422
DELETE
/api/accounts/{account_id}/workspaces/{workspace_id}/slas/default/{sla_severity}
Delete Default Sla
delete_default_sla_api_accounts__account_id__workspaces__workspace_id__slas_default__sla_severity__delete 3 params → 200422

Schemas 52

The contract defines 52 schemas that model the data the API accepts and returns. The most detailed are ServiceLevelAgreement (17 properties), Automation (15 properties), EventTrigger (10 properties), FreshnessSla (7 properties). Each schema is shown below with its type and property counts.

PauseAutomation
object
Pauses a Work Queue
3 properties
ResumeSchedule
object
Resumes the given schedule
3 properties 2 required
ResourceSpecification
object
A specification that may match zero, one, or many resources, used to target or select a set of resources in a query or automation. A resource must match at lea…
ResumeWorkPool
object
Resumes a Work Pool
3 properties
ResumeAutomation
object
Resumes a Work Queue
3 properties
SuspendFlowRun
object
Suspends a flow run associated with the trigger
2 properties
StateType
string
Enumeration of state types.
DeclareIncident
object
Declares an incident for the triggering event
1 property
CallWebhook
object
Call a webhook when an Automation is triggered.
3 properties 1 required
TimeToCompletionSla
object
An SLA that triggers when a flow run takes longer than the specified duration.
5 properties 2 required
SlaFilter
object
5 properties
AutomationFilterCreated
object
Filter by Automatio.created.
1 property
ChangeFlowRunState
object
Changes the state of a flow run associated with the trigger
5 properties 1 required
MetricTriggerOperator
string
PauseWorkQueue
object
Pauses a Work Queue
3 properties
CancelFlowRun
object
Cancels a flow run associated with the trigger
2 properties
PauseWorkPool
object
Pauses a Work Pool
3 properties
EventTrigger
object
A trigger that fires based on the presence or absence of events within a given period of time.
10 properties 1 required
SlaSort
string
Defines SLAs sorting options.
ResumeWorkQueue
object
Resumes a Work Queue
3 properties
FrequencySla
object
An SLA that triggers when a flow run is stale.
5 properties 2 required
DoNothing
object
Do nothing when an Automation is triggered
1 property
SendPrefectNotification
object
3 properties 2 required
SlaSeverity
string
The severity of a SLA violation
SendNotification
object
Send a notification when an Automation is triggered
4 properties 2 required
ActorReference
object
4 properties 2 required
Body_read_slas_by_owner_resource_api_accounts__account_id__workspaces__workspace_id__slas_by_owner__owner_resource__post
object
3 properties
ServiceLevelAgreement
object
A Service Level Agreement that inherits from ServiceLevelAgreementCore
17 properties 6 required
ResumeDeployment
object
Resumes the given Deployment
3 properties
Automation
object
15 properties 5 required
MetricTriggerQuery
object
Defines a subset of the Trigger subclass, which is specific to Metric automations, that specify the query configurations and breaching conditions for the Autom…
5 properties 3 required
PauseDeployment
object
Pauses the given Deployment
3 properties
SendEmailNotification
object
Send an email notification when an Automation is triggered
5 properties 2 required
ValidationError
object
3 properties 3 required
SequenceTrigger-Output
object
A composite trigger that requires some number of triggers to have fired within the given time period in a specific order
4 properties 2 required
PrefectMetric
string
ServiceLevelAgreementPartialUpdate
object
Model for partially updating Service Level Agreements
1 property 1 required
AutomationFilterName
object
Filter by Automation.name.
1 property
HTTPValidationError
object
1 property
ResumeFlowRun
object
Resumes a paused or suspended flow run associated with the trigger
1 property
MetricTrigger-Output
object
A trigger that fires based on the results of a metric query.
6 properties 1 required
FreshnessSla
object
An SLA that triggers when a flow run is stale.
7 properties 4 required
prefect_cloud__orion__schemas__filters__Operator
string
Operators for combining filter criteria.
AutomationFilterTags
object
Filter by Automation.tags.
4 properties
Body_read_slas_api_accounts__account_id__workspaces__workspace_id__slas_filter_post
object
3 properties
Body_create_default_sla_api_accounts__account_id__workspaces__workspace_id__slas_default_post
object
2 properties 2 required
PauseScheduleForFlowRun
object
Pauses the schedule for a flow run associated with the trigger
3 properties
RunDeployment
object
Runs the given deployment with the given parameters
6 properties
SlaViolation
object
Base class for actions that operate on SLA violations
5 properties
CompoundTrigger-Output
object
A composite trigger that requires some number of triggers to have fired within the given time period
5 properties 3 required
Body_read_flow_runs_api_accounts__account_id__workspaces__workspace_id__slas_flow_runs_post
object
2 properties 2 required
LatenessSla
object
An SLA that triggers when a flow run is late.
5 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

prefect-slas-api-openapi.yml Raw ↑

Other APIs Prefect publishes across the network.

Prefect Server REST API
Prefect Python SDK
Prefect Account Billing API
Prefect Account Images API
Prefect Account Memberships API
Prefect Account Roles API
Prefect Account SSO API
Prefect Accounts API
Prefect AI API
Prefect Artifacts API
Prefect Asset Publications API
Prefect Asset Subscriptions API
Where this information came from

This is an independent, third-party profile of Prefect SLAs API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.