Airia Model Resiliency API
The ModelResiliency API from Airia — 4 operation(s) for modelresiliency.
The ModelResiliency API from Airia — 4 operation(s) for modelresiliency.
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/airia:airia-modelresiliency-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. 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: Airia Web Model Resiliency API
version: 1.0.0
servers:
- url: https://api.airia.ai
tags:
- name: ModelResiliency
paths:
/v1/ModelResiliency/rules:
get:
tags:
- ModelResiliency
operationId: ModelResiliency_GetRules2
parameters:
- name: PageNumber
in: query
schema:
type: integer
format: int32
x-position: 1
- name: PageSize
in: query
schema:
type: integer
format: int32
x-position: 2
- name: SortBy
in: query
schema:
type:
- string
- 'null'
x-position: 3
- name: SortDirection
in: query
schema:
type: string
x-position: 4
- name: filter
in: query
schema:
type:
- string
- 'null'
x-position: 5
- name: x-correlation-id
in: header
schema:
type: string
responses:
200:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/PagedResultOfModelResiliencyRuleDto'
400:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
500:
description: ''
content:
application/json:
schema:
type: string
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency get rules2
x-summary-source: derived
post:
tags:
- ModelResiliency
operationId: ModelResiliency_CreateRule2
parameters:
- name: x-correlation-id
in: header
schema:
type: string
requestBody:
x-name: request
content:
application/json:
schema:
$ref: '#/components/schemas/CreateModelResiliencyRuleRequest'
required: true
x-position: 1
responses:
201:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ModelResiliencyRuleDto'
400:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency create rule2
x-summary-source: derived
/v1/ModelResiliency/rules/{id}:
get:
tags:
- ModelResiliency
operationId: ModelResiliency_GetRuleById2
parameters:
- name: id
in: path
required: true
schema:
type: string
format: guid
x-position: 1
- name: x-correlation-id
in: header
schema:
type: string
responses:
200:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ModelResiliencyRuleDto'
404:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency get rule by id2
x-summary-source: derived
put:
tags:
- ModelResiliency
operationId: ModelResiliency_UpdateRule2
parameters:
- name: id
in: path
required: true
schema:
type: string
format: guid
x-position: 1
- name: x-correlation-id
in: header
schema:
type: string
requestBody:
x-name: request
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateModelResiliencyRuleRequest'
required: true
x-position: 2
responses:
200:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ModelResiliencyRuleDto'
404:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
400:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency update rule2
x-summary-source: derived
delete:
tags:
- ModelResiliency
operationId: ModelResiliency_DeleteRule2
parameters:
- name: id
in: path
required: true
schema:
type: string
format: guid
x-position: 1
- name: x-correlation-id
in: header
schema:
type: string
responses:
204:
description: ''
404:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency delete rule2
x-summary-source: derived
/v1/ModelResiliency/rules/{id}/toggle:
patch:
tags:
- ModelResiliency
operationId: ModelResiliency_ToggleRule2
parameters:
- name: id
in: path
required: true
schema:
type: string
format: guid
x-position: 1
- name: x-correlation-id
in: header
schema:
type: string
requestBody:
x-name: request
content:
application/json:
schema:
$ref: '#/components/schemas/ToggleModelResiliencyRuleRequest'
required: true
x-position: 2
responses:
200:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ModelResiliencyRuleDto'
404:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency toggle rule2
x-summary-source: derived
/v1/ModelResiliency/rules/reorder:
put:
tags:
- ModelResiliency
operationId: ModelResiliency_ReorderRules2
parameters:
- name: x-correlation-id
in: header
schema:
type: string
requestBody:
x-name: request
content:
application/json:
schema:
$ref: '#/components/schemas/ReorderModelResiliencyRulesRequest'
required: true
x-position: 1
responses:
200:
description: ''
400:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
401:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
403:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
summary: Model resiliency reorder rules2
x-summary-source: derived
components:
schemas:
ProblemDetails:
type: object
additionalProperties: {}
properties:
type:
type:
- string
- 'null'
title:
type:
- string
- 'null'
status:
type:
- integer
- 'null'
format: int32
detail:
type:
- string
- 'null'
instance:
type:
- string
- 'null'
ModelResiliencyRuleDto:
type: object
additionalProperties: false
properties:
id:
type: string
format: guid
enabled:
type: boolean
priority:
type: integer
format: int32
primaryModelId:
type: string
format: guid
primaryModelName:
type: string
replacementModelId:
type: string
format: guid
replacementModelName:
type: string
type:
$ref: '#/components/schemas/ModelResiliencyRuleType'
createdAt:
type: string
format: date-time
createdBy:
type: string
createdByUserId:
type: string
format: guid
updatedAt:
type: string
format: date-time
updatedBy:
type: string
updatedByUserId:
type: string
format: guid
ReorderModelResiliencyRulesRequest:
type: object
additionalProperties: false
required:
- ruleIds
properties:
ruleIds:
type: array
items:
type: string
format: guid
ToggleModelResiliencyRuleRequest:
type: object
additionalProperties: false
required:
- enabled
properties:
enabled:
type: boolean
UpdateModelResiliencyRuleRequest:
allOf:
- $ref: '#/components/schemas/CreateModelResiliencyRuleRequest'
- type: object
additionalProperties: false
required:
- id
properties:
id:
type: string
format: guid
minLength: 1
CreateModelResiliencyRuleRequest:
type: object
additionalProperties: false
required:
- primaryModelId
- replacementModelId
- type
properties:
enabled:
type: boolean
primaryModelId:
type: string
format: guid
minLength: 1
replacementModelId:
type: string
format: guid
minLength: 1
type:
$ref: '#/components/schemas/ModelResiliencyRuleType'
PagedResultOfModelResiliencyRuleDto:
type: object
additionalProperties: false
properties:
items:
type: array
items:
$ref: '#/components/schemas/ModelResiliencyRuleDto'
totalCount:
type: integer
format: int32
ModelResiliencyRuleType:
type: string
description: ''
x-enumNames:
- Failover
- Override
enum:
- Failover
- Override
securitySchemes:
ApiKey:
type: apiKey
description: API Key Authentication
name: X-API-Key
in: header
Cookies:
type: apiKey
description: Cookie based Authentication
name: Cookie
in: header
x-generator: NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))