Servera Violations API
Security violations on your services (malware, mail abuse, abuse) - view the lifecycle and evidence, and reply while a case is active.
Security violations on your services (malware, mail abuse, abuse) - view the lifecycle and evidence, and reply while a case is active.
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/servera-lt:servera-lt-violations-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: Servera Developers Violations API
description: 'A REST API for your Servera account - the same operations you have in the customer
area, available programmatically, plus an **MCP** endpoint so AI agents can use
them as tools. Every request is authenticated with a scoped API key and rate-limited. ### What you can do
Everything from your customer area, grouped by area (each needs the matching scope):
- **VPS / VDS** - list servers; live status + CPU/RAM/disk/network metrics; power
on/off/reboot; snapshots (create, roll back, delete); backups (create, delete);
the per-VM firewall (view, enable/disable, rules add/update/delete/reorder - on
standalone and behind-Virtual-Router VMs); and OS reinstall. - **VPC Networks** - list your private networks and manage their firewall (rules,
options, VM↔VM isolation toggle). - **Virtual Routers** - overview, WireGuard peers, public-IP mappings, and
attach/detach VMs behind the router. - **Domains & DNS** - list domains (nameservers, lock, DNSSEC, expiry) and read or
edit DNS records (A, AAAA, CNAME, MX, TXT, SRV, CAA) on all DNS zones
hosted with us. - **WAF** - list protected domains, enable/disable protection, toggle threat
filtering, apply security presets, advanced rules, bot policy, IP/country
allow-block lists, and read traffic logs. - **Email - delivery & protection** - delivery trace, RBL/blocklist checks, the
RBL self-whitelist, trusted senders, and autoresponders. - **Billing** - list invoices, download their PDFs, and check your account balance. - **Orders** - list and inspect your orders. - **Support** - read tickets, open new ones, and post replies. - **IP protection** - check whether an IP is blocked on shared hosting, self-unblock
it, and view the history. - **Users** - list account users, invite new ones, and resend invitations. - **Contacts** - list and manage your account contacts. - **Tags & comments** - organise your services and domains with tags (a predefined
grouped catalog of international labels, or your own custom text) and a free-text
comment on each; find services/domains by tag. Scopes `tags:read`/`tags:write`. - **System emails** - the transactional emails we''ve sent to your account. - **Activity log** - your account''s audited actions. ## Base URL
```
https://developers.servera.lt
```
Every `servera.*` brand has its own host (e.g. `https://developers.servera.co.uk`);
they share this API. ## Quick start
```bash
# Public - no auth
curl https://developers.servera.lt/v1/status
# Authenticated - list your VPS/VDS
curl https://developers.servera.lt/v1/vps \
-H "Authorization: Bearer sk_live_…"
```
## Authentication
Create a scoped API key in your customer area (**Developers → API keys**), then
send it as a bearer token on every request:
```
Authorization: Bearer sk_live_…
```
Keys are shown **once** at creation (only a hashed form is stored) and can be
revoked anytime. Send keys over HTTPS only, in the header - never in a URL.'
version: 1.0.0
servers:
- url: https://developers.servera.lt
description: Production
tags:
- name: Violations
description: Security violations on your services (malware, mail abuse, abuse) - view the lifecycle and evidence, and reply while a case is active.
paths:
/v1/violations:
get:
tags:
- Violations
summary: List violations
description: 'Your security violations (active first, history included). Optional `status`:
active, open, overdue, resolved, cancelled, all.'
operationId: list_violations
security:
- ApiKey: []
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
description: Filter by status.
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
description: Maximum rows to return (1–200, default 50).
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
description: Row offset for pagination (default 0).
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
violations:
- id: 318
service_id: 15231
domain: example.lt
type: malware
status: open
resolution: null
files_count: 2
deadline_at: '2026-10-24T12:00:00+03:00'
detected_at: '2026-10-21T10:16:00+00:00'
message_count: 1
can_respond: true
total: 1
limit: 50
offset: 0
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/violations/{violation_id}:
get:
tags:
- Violations
summary: Get violation
description: One violation with its lifecycle, safe evidence summary, and conversation thread.
operationId: get_violation
security:
- ApiKey: []
parameters:
- name: violation_id
in: path
required: true
schema:
type: integer
title: Violation Id
description: Security-violation id (from GET /violations).
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
id: 318
service_id: 15231
domain: example.lt
type: malware
status: open
resolution: null
deadline_at: '2026-10-24T12:00:00+03:00'
detected_at: '2026-10-21T10:16:00+00:00'
resolved_at: null
can_respond: true
evidence:
kind: malware
files:
- /home/exampl/public_html/wp-content/uploads/x.php
files_count: 2
messages:
- id: 1
message: Please remove the flagged files by the deadline.
from: staff
author: Servera
created_at: '2026-10-21T10:20:00+00:00'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/violations/{violation_id}/reply:
post:
tags:
- Violations
summary: Reply to a violation
description: Post a reply on one of your ACTIVE (open/overdue) violations. Notifies staff.
operationId: reply_violation
security:
- ApiKey: []
parameters:
- name: violation_id
in: path
required: true
schema:
type: integer
title: Violation Id
description: Security-violation id (from GET /violations).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ViolationReply'
example:
message: The flagged files have been removed and the site was updated.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
message_id: 2
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ViolationReply:
properties:
message:
type: string
title: Message
type: object
required:
- message
title: ViolationReply
securitySchemes:
ApiKey:
type: http
description: 'Your `sk_live_…` API key, sent as `Authorization: Bearer <key>`.'
scheme: bearer