Models
Models
List of all models including request and response payloads from the API.
CreateUserRequest
objectdid
string
Decentralized Identifier (DID) of the user, used when the user type is DID.
example:
example:
did:key:z6MkwQq5dYjR5Jxk8V6YtRj5X9V6Jc2xC3L2QkP2sEwYzBq1email
string
Email address of the user.
example: [email protected]
example: [email protected]
name
string
Full name of the user.
required: true
example: Jane Doe
required: true
example: Jane Doe
password
string
Password for the new user.
example: StrongPassword123!
example: StrongPassword123!
role_id
integer
Identifier of the role assigned to this user.
required: true
example: 2
required: true
example: 2
type
string
Type of user (e.g., did, api, human).
example: api
enum: did, api, human
example: api
enum: did, api, human
Invoice
objectpayment_ref_id
string
Reference ID for the payment transaction.
example: pay_abc123xyz
example: pay_abc123xyz
tax_id
string
Tax identifier associated with the billing account.
example: EU123456789
example: EU123456789
vat_amount
string
VAT or tax amount applied to this invoice.
example: "20.00"
example: "20.00"
account_id
integer
Identifier of the account associated with this invoice.
example: 5
example: 5
from_date
string
Start date of the billing period.
example: 2025-06-01T00:00:00Z
example: 2025-06-01T00:00:00Z
invoice_items
array of InvoiceItem
Reference Type: InvoiceItem
List of individual items billed within this invoice.
example: {"plan_id":"2","amount":"50.00","billing_for":"Jun 2025"}
List of individual items billed within this invoice.
example: {"plan_id":"2","amount":"50.00","billing_for":"Jun 2025"}
invoice_number
string
Human-readable invoice number.
example: INV-2025-0001
example: INV-2025-0001
paid_at
string
Timestamp when the invoice was paid, if applicable.
example: 2025-07-01T10:45:00Z
example: 2025-07-01T10:45:00Z
billing_month
string
The billing month this invoice covers.
example: 2025-06-01T00:00:00Z
example: 2025-06-01T00:00:00Z
created_at
string
Timestamp when the invoice was created.
example: 2025-06-30T12:00:00Z
example: 2025-06-30T12:00:00Z
discount
string
Discount applied to the subtotal (if any).
example: "5.00"
example: "5.00"
outstanding_amount
string
Remaining unpaid amount for this invoice.
example: "0.00"
example: "0.00"
total_amount
string
Total invoice amount after taxes and discounts.
example: "115.00"
example: "115.00"
due_date
string
Due date for payment.
example: 2025-07-01T00:00:00Z
example: 2025-07-01T00:00:00Z
subtotal_amount
string
Subtotal amount before taxes and discounts.
example: "100.00"
example: "100.00"
to_date
string
End date of the billing period.
example: 2025-06-30T23:59:59Z
example: 2025-06-30T23:59:59Z
unique_id
string
Unique system-wide identifier for the invoice.
example: inv_9f8e7d6c5b4a3
example: inv_9f8e7d6c5b4a3
updated_at
string
Timestamp when the invoice was last updated.
example: 2025-07-01T11:00:00Z
example: 2025-07-01T11:00:00Z
id
integer
Unique identifier of the invoice.
example: 1001
example: 1001
paid
boolean
Indicates whether the invoice has been fully paid.
example: true
example: true
Membership
objectaccount_name
string
Name of the account.
example: Serverista Account Eu
example: Serverista Account Eu
role
object of Role
account_id
integer
Unique Account ID.
example: 5
example: 5
RolePermission
objectpermission
object of Permission
permission_id
integer
ID of the permission in this relationship.
example: 5
example: 5
role
object of Role
role_id
integer
ID of the role in this relationship.
example: 1
example: 1
updated_at
string
Timestamp when this association was last updated.
example: 2025-10-25T09:21:10Z
example: 2025-10-25T09:21:10Z
created_at
string
Timestamp when this association was created.
example: 2025-01-15T13:45:30Z
example: 2025-01-15T13:45:30Z
User
objectcreated_at
string
Timestamp when the user was created
example: 2023-01-01T12:00:00Z
example: 2023-01-01T12:00:00Z
id
integer
Unique user ID
example: 42
example: 42
type
string
Type of user (e.g., human, api, did)
example: api
enum: human,api,did
example: api
enum: human,api,did
updated_at
string
Timestamp when the user was last updated
example: 2023-01-05T12:00:00Z
example: 2023-01-05T12:00:00Z
email
string
User email address
example: [email protected]
example: [email protected]
external
boolean
Whether the user is created with sso
example: false
example: false
last_name
string
User’s last name
example: Doe
example: Doe
name
string
User’s first name
example: John
example: John
sys
boolean
Whether the use has sys access
example: false
example: false
Account
objectupdated_at
string
Timestamp when the account was last updated
example: 2023-01-10T12:00:00Z
example: 2023-01-10T12:00:00Z
address
string
Street address of the account
example: 123 Main Street
example: 123 Main Street
created_at
string
Timestamp when the account was created
example: 2023-01-01T12:00:00Z
example: 2023-01-01T12:00:00Z
id
integer
Unique identifier for the account
example: 2321
example: 2321
phone
string
Contact phone number
example: +49 30 123456
example: +49 30 123456
tax_id
string
Tax identification number
example: DE123456789
example: DE123456789
company
string
Company name associated with the account
example: Serverista
example: Serverista
country
string
Country of the account
example: Germany
example: Germany
postal_code
string
Postal or ZIP code
example: 10115
example: 10115
auto_pay
boolean
Indicates if automatic payments are enabled
example: false
example: false
city
string
City of the account
example: Berlin
example: Berlin
name
string
Full name of the account owner
example: John Doe
example: John Doe
verified
boolean
Indicates if the account is verified
example: true
example: true
credits
integer
Available credits for the account
example: 1500
example: 1500
state
string
State or province
example: Berlin
example: Berlin
CreateRoleRequest
objectdescription
string
A short description of the role and its purpose.
example: Full access to all administrative features.
example: Full access to all administrative features.
name
string
Name of the role to be created.
required: true
example: Administrator
required: true
example: Administrator
permission_ids
array of integer
List of permission IDs to associate with the role.
example: 1, 2, 3
example: 1, 2, 3
ExtendedUser
objectadditional_user_info
object of AdditionalUserInfo
Reference Type: AdditionalUserInfo
Additional details about the user such as DID and last login timestamp.
example: AdditionalUserInfo object
Additional details about the user such as DID and last login timestamp.
example: AdditionalUserInfo object
user
object of User
ManagementRequest
objectaction
string
The management action to perform (e.g., start, stop, reboot, delete, reinstall).
required: true
example: START
enum: START,STOP,RESTART,DELETE,REINSTALL
required: true
example: START
enum: START,STOP,RESTART,DELETE,REINSTALL
Server
objectid
integer
Unique identifier of the server.
example: 101
example: 101
plan
object of Plan
account_id
integer
Identifier of the account that owns this server.
example: 5
example: 5
created_at
string
Timestamp when the server was created.
example: 2025-10-01T12:30:00Z
example: 2025-10-01T12:30:00Z
firewall_enabled
boolean
Indicates whether the server's firewall is enabled.
example: true
example: true
security_groups
array of SecurityGroup
Reference Type: SecurityGroup
List of security groups associated with this server.
example: {SecurityGroup}
List of security groups associated with this server.
example: {SecurityGroup}
tags
array of Tag
updated_at
string
Timestamp when the server was last updated.
example: 2025-10-31T18:22:00Z
example: 2025-10-31T18:22:00Z
vm_id
integer
Virtual Machine ID in the underlying infrastructure (optional).
example: 98765
example: 98765
data
array of KeyValue
Reference Type: KeyValue
Key-value metadata related to the server.
example: {"name":"OS","value":"Ubuntu 24.04 LTS"}
Key-value metadata related to the server.
example: {"name":"OS","value":"Ubuntu 24.04 LTS"}
order_id
integer
Identifier of the order related to this server.
example: 43
example: 43
plan_id
integer
Identifier of the plan associated with this server.
example: 2
example: 2
status_date
string
Timestamp of the most recent status change.
example: 2025-10-31T15:04:05Z
example: 2025-10-31T15:04:05Z
user_defined_name
string
Custom name defined by the user for this server.
example: production-web-01
example: production-web-01
ip
string
The public or private IP address assigned to the server.
example: 192.168.1.10
example: 192.168.1.10
status
string
Current operational status of the server (e.g., running, stopped, provisioning).
example: running
example: running
unique_id
integer
Unique internal identifier for the server.
example: 123456
example: 123456
user_id
integer
Identifier of the user who created or manages this server.
example: 12
example: 12
AddTagsToServiceRequest
objecttag_ids
array of integer
IDs of the tags.
required: true
example: 1, 2, 3
required: true
example: 1, 2, 3
BlogPost
objectauthor_image_url
string
URL to author image
example: https://serverista.com/alice.png
example: https://serverista.com/alice.png
author_name
string
Author name
example: Alice Smith
example: Alice Smith
category_href
string
URL for the category
example: /categories/servers
example: /categories/servers
date
string
Publication date
example: October 25, 2025
example: October 25, 2025
image_url
string
URL to blog image
example: https://serverista.com/cover1.png
example: https://serverista.com/cover1.png
featured
boolean
Indicates if the post is featured
example: true
example: true
author_href
string
URL to author page
example: /authors/alice-smith
example: /authors/alice-smith
category_name
string
Category name
example: Servers
example: Servers
created_at
string
Timestamp when the post was created
example: 2025-10-20T12:00:00Z
example: 2025-10-20T12:00:00Z
datetime
string
Full datetime of publication
example: 2025-10-25T10:00:00Z
example: 2025-10-25T10:00:00Z
description
string
Short description of the post
example: Learn the basics of Virtual Networking.
example: Learn the basics of Virtual Networking.
href
string
URL for the blog post
example: /blog/serverista-introduction
example: /blog/serverista-introduction
id
integer
Unique blog post ID
example: 1
example: 1
reading_time
string
Estimated reading time
example: 5 min read
example: 5 min read
content
string
Full content of the blog post (HTML)
example: This is a detailed guide on Serverista...
example: This is a detailed guide on Serverista...
short_name
string
Short name for URL-friendly identifiers
example: go-introduction
example: go-introduction
title
string
Blog post title
example: Getting Started with Serverista
example: Getting Started with Serverista
updated_at
string
Timestamp when the post was last updated
example: 2025-10-25T12:00:00Z
example: 2025-10-25T12:00:00Z
CreateServer
objectamount
integer
Number of servers to create.
required: true
example: 3
required: true
example: 3
name
string
Optional name to assign to the server.
example: web-server-01
example: web-server-01
os
string
Operating system to install on the server.
required: true
example: Ubuntu 24.04 LTS
required: true
example: Ubuntu 24.04 LTS
plan_id
integer
Identifier of the selected server plan.
required: true
example: 2
required: true
example: 2
scripts
string
Optional scripts to run on the server.
example: sudo apt update
example: sudo apt update
ssh_public_key
string
The SSH public key to be added to the server for authentication.
required: true
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
required: true
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
tag_ids
array of integer
List of tag IDs to associate with the server.
example: 1, 2, 3
example: 1, 2, 3
FirewallRule
objectsource
string
Source IP address or CIDR range.
example: 0.0.0.0/0
example: 0.0.0.0/0
comment
string
Optional comment or description for the rule.
example: Allow SSH access from anywhere.
example: Allow SSH access from anywhere.
enable
boolean
Indicates whether this rule is enabled.
example: true
example: true
proto
string
The network protocol this rule applies to.
example: tcp
enum: tcp,udp,icmp,icmpv6,ip,esp,ah,sctp,gre
example: tcp
enum: tcp,udp,icmp,icmpv6,ip,esp,ah,sctp,gre
sport
string
Source port or port range.
example: ""
example: ""
action
string
The action to take when this rule matches traffic.
example: ACCEPT
enum: ACCEPT,DROP,REJECT
example: ACCEPT
enum: ACCEPT,DROP,REJECT
dest
string
Destination IP address or CIDR range.
example: ""
example: ""
direction
string
The direction of traffic the rule applies to.
example: in
enum: in,out
example: in
enum: in,out
dport
string
Destination port or port range.
example: 22
example: 22
SecurityGroupRequest
objectdescription
string
Description of the security group and its purpose.
example: Security group for all frontend web servers.
example: Security group for all frontend web servers.
enabled
boolean
Indicates whether the security group is enabled upon creation.
example: true
example: true
name
string
Name of the security group.
required: true
example: web-servers
required: true
example: web-servers
rules
array of FirewallRule
Reference Type: FirewallRule
List of firewall rules to associate with the security group.
example: {"action":"ACCEPT","direction":"in","proto":"tcp","dport":"80","source":"0.0.0.0/0","enable":true,"comment":"Allow HTTP traffic"}
List of firewall rules to associate with the security group.
example: {"action":"ACCEPT","direction":"in","proto":"tcp","dport":"80","source":"0.0.0.0/0","enable":true,"comment":"Allow HTTP traffic"}
SecurityGroups
objectlimit
integer
Number of items per page
example: 10
example: 10
page
integer
Current page number
example: 1
example: 1
total_count
integer
Total number of items
example: 150
example: 150
total_pages
integer
Total number of pages
example: 15
example: 15
data
array of SecurityGroup
Reference Type: SecurityGroup
List of security groups returned for the current page.
example: {SecurityGroup}
List of security groups returned for the current page.
example: {SecurityGroup}
ServerTime
objectserver_time
integer
Current Unix timestamp on the server
example: 1735123456
example: 1735123456
UpdateAccountRequest
objecttax_id
string
New tax identification number
example: DE123456789
example: DE123456789
country
string
New country
example: Germany
example: Germany
name
string
New full name for the account
example: John Doe
example: John Doe
state
string
New state or province
example: Berlin
example: Berlin
address
string
New street address
example: 123 Main Street
example: 123 Main Street
city
string
New city
example: Berlin
example: Berlin
company
string
New company name
example: Serverista GmbH
example: Serverista GmbH
phone
string
New phone number
example: +49 30 123456
example: +49 30 123456
postal_code
string
New postal code
example: 10115
example: 10115
KeyEnvelope
objectkey
object of Key
private_key
string
The private key content (only returned once upon key creation).
example: -----BEGIN OPENSSH PRIVATE KEY-----
MIIEvgIBADANBgkq...
-----END OPENSSH PRIVATE KEY-----
example: -----BEGIN OPENSSH PRIVATE KEY-----
MIIEvgIBADANBgkq...
-----END OPENSSH PRIVATE KEY-----
success
boolean
Indicates whether the operation was successful.
example: true
example: true
ManagementResponse
objectaction_id
string
Unique identifier of the initiated management action.
example: 9b73cfe2a7d84b1c92d3f61234a5efc2
example: 9b73cfe2a7d84b1c92d3f61234a5efc2
OrderPlan
objectamount
integer
Number of servers or instances to create for this plan.
example: 3
example: 3
created_at
string
Timestamp when this order plan item was created.
example: 2025-10-31T14:25:00Z
example: 2025-10-31T14:25:00Z
id
integer
Unique identifier of the order plan item.
example: 101
example: 101
name
string
User-defined name for the deployed resource(s).
example: frontend-node
example: frontend-node
order_id
integer
Identifier of the order this plan belongs to.
example: 42
example: 42
plan_id
integer
Identifier of the selected plan.
example: 2
example: 2
ssh_pub_key
string
SSH public key for server access.
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8Dk7wF2X9nX2d1J9H4j6bYzVZt5F2ZpHZQ4xS9oX+5j [email protected]
updated_at
string
Timestamp when this order plan item was last updated.
example: 2025-11-01T09:40:00Z
example: 2025-11-01T09:40:00Z
os
string
Operating system to be installed.
example: Ubuntu 24.04 LTS
example: Ubuntu 24.04 LTS
plan
object of Plan
scripts
string
Optional scripts to execute after provisioning.
example: apt update && apt install -y nginx
example: apt update && apt install -y nginx
PaymentMethod
objectbrand
string
Brand or type of the payment method (e.g., Visa, Mastercard, etc.).
example: Visa
example: Visa
default
boolean
Indicates whether this is the user's default payment method.
example: true
example: true
exp
string
Expiration date of the payment method in MM/YY format.
example: 12/27
example: 12/27
id
string
Unique identifier of the payment method.
example: 123
example: 123
last4
string
Last four digits of the payment method number.
example: 4242
example: 4242
Ticket
objectaccount_id
integer
Identifier of the account that owns this ticket.
example: 5
example: 5
content
string
Detailed description or content of the issue.
example: I tried to connect to my server via SSH but it keeps timing out.
example: I tried to connect to my server via SSH but it keeps timing out.
files
array of Attachment
id
integer
Unique identifier of the ticket.
example: 101
example: 101
replies
array of Reply
status
string
Current status of the ticket (e.g., open, closed).
example: open
example: open
subject
string
Subject or title of the support ticket.
example: Cannot access my server
example: Cannot access my server
case_id
string
Unique case identifier, typically auto-generated.
example: CASE-5-0001
example: CASE-5-0001
created_at
string
Timestamp when the ticket was created.
example: 2025-11-01T12:30:00Z
example: 2025-11-01T12:30:00Z
updated_at
string
Timestamp when the ticket was last updated.
example: 2025-11-01T14:45:00Z
example: 2025-11-01T14:45:00Z
user_id
integer
Identifier of the user who created the ticket.
example: 42
example: 42
UpdateServerFirewallRequest
objectenabled
boolean
Indicates whether the firewall should be enabled or disabled for the server.
example: true
example: true
security_group_ids
array of integer
List of security group IDs to associate with the server's firewall.
example: 1, 2, 3
example: 1, 2, 3
UpdateTagRequest
objectcolor
string
Color associated with the tag.
example: #FF0000
example: #FF0000
data
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
name
string
Name of the tag.
required: true
example: production
required: true
example: production
service_ids
array of integer
List of service IDs to associate with the tag.
example: 1, 2, 3
example: 1, 2, 3
AdditionalUserInfo
objectdid
string
Decentralized Identifier (DID) associated with the user.
This field is populated only if the user type is DID.
example:
This field is populated only if the user type is DID.
example:
did:key:z6MkwQq5dYjR5Jxk8V6YtRj5X9V6Jc2xC3L2QkP2sEwYzBq1last_login
string
The timestamp of the user's last successful login.
example: 2025-10-31T15:04:05Z
example: 2025-10-31T15:04:05Z
role
object of Role
GenericResponse
objectsuccess
boolean
Indicates whether the operation was successful.
example: true
example: true
message
string
A human-readable message describing the result of the operation.
example: User created successfully.
example: User created successfully.
Reply
objectfiles
array of Attachment
id
integer
Unique identifier of the reply.
example: 202
example: 202
ticket_id
integer
Identifier of the parent ticket.
example: 101
example: 101
user
object of User
user_id
integer
Identifier of the user who created the reply.
example: 42
example: 42
account_id
integer
Identifier of the account associated with this reply.
example: 5
example: 5
content
string
Content or message of the reply.
example: Please try rebooting your VM and check if the issue persists.
example: Please try rebooting your VM and check if the issue persists.
created_at
string
Timestamp when the reply was created.
example: 2025-11-01T13:00:00Z
example: 2025-11-01T13:00:00Z
Role
objectupdated_at
string
Timestamp when the role was last updated.
example: 2025-10-25T09:21:10Z
example: 2025-10-25T09:21:10Z
created_at
string
Timestamp when the role was created.
example: 2025-01-15T13:45:30Z
example: 2025-01-15T13:45:30Z
created_by_email
string
Email of the user who created this role.
example: [email protected]
example: [email protected]
description
string
Description of the role’s purpose or scope.
example: Full administrative access
example: Full administrative access
name
string
Name of the role.
example: Admin
example: Admin
system_role
boolean
Indicates if this is a system-defined role.
example: true
example: true
account_id
integer
ID of the account this role belongs to.
example: 42
example: 42
created_by
integer
ID of the user who created this role.
example: 1001
example: 1001
created_by_name
string
Name of the user who created this role.
example: John
example: John
id
integer
Unique identifier for the role.
example: 1
example: 1
role_permissions
array of RolePermission
UpdateUserRoleRequest
objectrole_id
integer
Identifier of the new role to assign to the user.
required: true
example: 3
required: true
example: 3
Attachment
objectid
integer
Unique identifier of the attachment.
example: 501
example: 501
owner_id
integer
Identifier of the ticket or reply that owns this attachment.
example: 202
example: 202
owner_type
string
Type of the owner entity ("tickets" or "replies").
example: replies
example: replies
unique_id
string
Globally unique identifier for the attachment file.
example: att_9f8e7d6c5b4a3
example: att_9f8e7d6c5b4a3
created_at
string
Timestamp when the file was uploaded.
example: 2025-11-01T13:05:00Z
example: 2025-11-01T13:05:00Z
file_name
string
Original name of the uploaded file.
example: error_log.txt
example: error_log.txt
KeyValue
objectname
string
Name of the key-value pair.
example: OS
example: OS
val
string
Value associated with the key.
example: Ubuntu 22.04
example: Ubuntu 22.04
Metrics
objectdisk_read_kbps
array of number
Disk read throughput (in kilobytes per second) at each timestamp.
example: 35.4, 40.1, 38.9
example: 35.4, 40.1, 38.9
disk_write_kbps
array of number
Disk write throughput (in kilobytes per second) at each timestamp.
example: 20.7, 25.3, 22.8
example: 20.7, 25.3, 22.8
mem_total_mb
number
Total available memory (in megabytes).
example: 2048
example: 2048
mem_used_mb
array of number
Memory used (in megabytes) at each timestamp.
example: 512, 768, 1024
example: 512, 768, 1024
net_in_kbps
array of number
Network inbound traffic (in kilobits per second) at each timestamp.
example: 120.4, 256.8, 310.2
example: 120.4, 256.8, 310.2
net_out_kbps
array of number
Network outbound traffic (in kilobits per second) at each timestamp.
example: 98.3, 210.5, 275.6
example: 98.3, 210.5, 275.6
timestamps
array of string
List of timestamps (in RFC3339 format) corresponding to each metric data point.
example: "2025-10-31T15:00:00Z", "2025-10-31T15:05:00Z", "2025-10-31T15:10:00Z"
example: "2025-10-31T15:00:00Z", "2025-10-31T15:05:00Z", "2025-10-31T15:10:00Z"
cpu_usage_percent
array of number
CPU usage percentage at each timestamp.
example: 12.5, 35.7, 42.3
example: 12.5, 35.7, 42.3
Permission
objectid
integer
Unique identifier for the permission.
example: 5
example: 5
name
string
Name of the permission.
example: role:update
example: role:update
description
string
Description of what this permission allows.
example: Allows update of role
example: Allows update of role
Plan
objecttype
string
Type of the plan (VPS or Dedicated Server)
example: VPS
enum: VPS,Dedicated Server
example: VPS
enum: VPS,Dedicated Server
data
array of KeyValue
Reference Type: KeyValue
Array of key val JSON data associated with the plan
example: {"name":"OS", "val": "Ubuntu 24.04 LTS"}, {}
Array of key val JSON data associated with the plan
example: {"name":"OS", "val": "Ubuntu 24.04 LTS"}, {}
description
string
Description of the plan
example: Suitable for medium businesses
example: Suitable for medium businesses
id
integer
Unique plan ID
example: 1
example: 1
name
string
Name of the plan
example: Dedicated VPS 1
example: Dedicated VPS 1
price
number
Monthly Price of the plan
example: 29.99
example: 29.99
Tag
objectaccount_id
integer
Identifier of the account that owns this tag.
example: 5
example: 5
color
string
Color associated with the tag.
example: #FF0000
example: #FF0000
created_by_user
integer
Identifier of the user who created this tag.
example: 12
example: 12
data
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
id
integer
Unique identifier of the tag.
example: 1
example: 1
name
string
Name of the tag.
example: production
example: production
servers
array of Server
UpdateServerRequest
objectname
string
New name to assign to the server.
required: true
example: backend-node-01
required: true
example: backend-node-01
UpdateUserProfileRequest
objectlast_name
string
New last name
example: Doe
example: Doe
name
string
New first name
example: John
example: John
password
string
New password
example: securepassword123
example: securepassword123
email
string
New email address
example: [email protected]
example: [email protected]
Introspect
objectuser
object of User
account
object of Account
memberships
array of Membership
Reference Type: Membership
List of memberships showing the user’s access to various accounts.
example: {m1}, {m2}
List of memberships showing the user’s access to various accounts.
example: {m1}, {m2}
InvoiceItem
objectplan_id
string
Identifier of the associated plan.
example: "basic-vm-2cpu"
example: "basic-vm-2cpu"
updated_at
string
Timestamp when the invoice item was last updated.
example: 2025-07-01T09:00:00Z
example: 2025-07-01T09:00:00Z
amount
string
Amount charged for this item.
example: "50.00"
example: "50.00"
billing_for
string
Display label for the billing period (for UI/invoice PDF).
example: "Jun 2025"
example: "Jun 2025"
billing_month
string
Billing month for this invoice item.
example: 2025-06-01T00:00:00Z
example: 2025-06-01T00:00:00Z
created_at
string
Timestamp when the invoice item was created.
example: 2025-06-30T12:10:00Z
example: 2025-06-30T12:10:00Z
id
integer
Unique identifier of the invoice item.
example: 2001
example: 2001
invoice_id
integer
Identifier of the parent invoice.
example: 1001
example: 1001
service_id
integer
Identifier of the billed service.
example: 301
example: 301
Key
objectfingerprint
string
Fingerprint of the key, typically generated from the public key.
example: SHA256:QmV+5BHw8uBfsh7zv5yykYJbHq4qY7AbvWzHzOZ2OYo
example: SHA256:QmV+5BHw8uBfsh7zv5yykYJbHq4qY7AbvWzHzOZ2OYo
id
integer
Unique identifier of the key.
example: 101
example: 101
name
string
Descriptive name assigned to the key.
example: production-deploy-key
example: production-deploy-key
public_key
string
Public key content.
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
updated_at
string
Timestamp when the key was last updated.
example: 2025-11-01T14:00:00Z
example: 2025-11-01T14:00:00Z
user_id
integer
Identifier of the user who owns this key.
example: 42
example: 42
account_id
integer
Identifier of the account associated with this key.
example: 5
example: 5
created_at
string
Timestamp when the key was created.
example: 2025-11-01T12:30:00Z
example: 2025-11-01T12:30:00Z
CreateUserResponse
objectapi_key
string
API key associated with the created user, used for authentication.
example: 51HhG7Qp4WzN1X9z0T8lKQ8mUu7p5VZ2Y...
example: 51HhG7Qp4WzN1X9z0T8lKQ8mUu7p5VZ2Y...
user_id
integer
Unique identifier of the newly created user.
example: 123
example: 123
Error
objecterror
string
Error code or message
example: invalid_request
example: invalid_request
Errors
objecterrors
object of object of string
Map of field names to error messages
example: {"email": "invalid format"}
example: {"email": "invalid format"}
Image
objectname
string
Name of the image
example: Ubuntu 24.04 LTS
example: Ubuntu 24.04 LTS
Order
objectaccount_id
integer
Identifier of the account associated with the order.
example: 5
example: 5
created_at
string
Timestamp when the order was created.
example: 2025-10-31T14:23:00Z
example: 2025-10-31T14:23:00Z
id
integer
Unique identifier of the order.
example: 42
example: 42
order_plans
array of OrderPlan
unique_id
string
Globally unique identifier for the order.
example: 88-77045-10138
example: 88-77045-10138
updated_at
string
Timestamp when the order was last updated.
example: 2025-11-01T09:45:00Z
example: 2025-11-01T09:45:00Z
user_id
integer
Identifier of the user who placed the order.
example: 12
example: 12
Country
objectcalling_code
integer
International calling code for the country
example: 49
example: 49
iso_a2
string
ISO 3166-1 Alpha-2 country code (two-letter code)
example: DE
example: DE
iso_a3
string
ISO 3166-1 Alpha-3 country code (three-letter code)
example: DEU
example: DEU
iso_num
integer
ISO 3166-1 numeric country code
example: 276
example: 276
name
string
Name of the country
example: Germany
example: Germany
vat
number
Standard VAT (Value Added Tax) rate in percentage
example: 19.0
example: 19.0
CreateKeyRequest
objectname
string
Descriptive name for the key.
required: true
example: production-deploy-key
required: true
example: production-deploy-key
public_key
string
The public key content (required for SSH keys).
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaQhFhW9kzO9Y7u7fQ4x9TXhVhS1eUQhQxF9DJ3yN2 [email protected]
type
string
Type of the key (e.g., generate, import).
required: true
example: generate
enum: generate,import
required: true
example: generate
enum: generate,import
CreateTagRequest
objectdata
string
Data associated with the tag, can be anything in string format.
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
example: {"key1":"value1","key2":"value2"} or "expires_at:2025-12-31T23:59:59Z"
name
string
Name of the tag.
required: true
example: production
required: true
example: production
service_ids
array of integer
List of service IDs to associate with the tag.
example: 1, 2, 3
example: 1, 2, 3
color
string
Color associated with the tag.
example: #FF0000
example: #FF0000
InvoicePayment
objectmessage
string
Optional message or description related to the payment.
example: Payment successfully processed via Stripe.
example: Payment successfully processed via Stripe.
outstanding
string
Remaining outstanding amount after payment.
example: "0.00"
example: "0.00"
paid
boolean
Indicates whether the invoice is paid.
example: true
example: true
payment_ref
string
Reference ID for the payment transaction.
example: pay_9f8e7d6c5b4a3
example: pay_9f8e7d6c5b4a3
Rule
objectaction
string
Action to take when the rule matches (ACCEPT, DROP, REJECT).
example: ACCEPT
example: ACCEPT
direction
string
Traffic direction this rule applies to (in, out).
example: in
example: in
enable
boolean
Indicates whether this rule is enabled.
example: true
example: true
proto
string
Network protocol the rule applies to (tcp, udp, icmp).
example: tcp
example: tcp
security_group_id
integer
Identifier of the security group this rule belongs to.
example: 10
example: 10
sport
string
Source port or range.
example: ""
example: ""
comment
string
Optional comment describing the purpose of this rule.
example: Allow SSH access from anywhere.
example: Allow SSH access from anywhere.
dest
string
Destination IP or CIDR range.
example: "0.0.0.0/0"
example: "0.0.0.0/0"
dport
string
Destination port or range.
example: 22
example: 22
id
integer
Unique identifier of the firewall rule.
example: 55
example: 55
source
string
Source IP or CIDR range.
example: 0.0.0.0/0
example: 0.0.0.0/0
SecurityGroup
objectservers
array of Server
Reference Type: Server
List of servers associated with this security group.
example: {"id":101,"user_defined_name":"production-web-01"}
List of servers associated with this security group.
example: {"id":101,"user_defined_name":"production-web-01"}
updated_at
string
Timestamp when the security group was last updated.
example: 2025-10-31T15:00:00Z
example: 2025-10-31T15:00:00Z
account_id
integer
Identifier of the account that owns this security group.
example: 5
example: 5
created_at
string
Timestamp when the security group was created.
example: 2025-09-01T10:00:00Z
example: 2025-09-01T10:00:00Z
created_by_user
integer
Identifier of the user who created this security group.
example: 12
example: 12
description
string
Description of the security group.
example: Default security group for all new servers.
example: Default security group for all new servers.
id
integer
Unique identifier of the security group.
example: 10
example: 10
name
string
Name of the security group.
example: default
example: default
rules
array of Rule
Reference Type: Rule
List of firewall rules associated with this security group.
example: {"id":1,"action":"ACCEPT","proto":"tcp","dport":"22"}
List of firewall rules associated with this security group.
example: {"id":1,"action":"ACCEPT","proto":"tcp","dport":"22"}
UpdateRoleRequest
objectdescription
string
Description of the role.
required: true
example: Read all servers
required: true
example: Read all servers
name
string
Name of the role.
required: true
example: Administrator
required: true
example: Administrator
permission_ids
array of integer
List of permission IDs to associate with this role.
example: 1, 2, 3
example: 1, 2, 3
UpdateTicketRequest
objectstatus
string
New status of the ticket.
required: true
example: closed
required: true
example: closed
BlogPosts
objectposts
array of BlogPost
Reference Type: BlogPost
List of regular blog posts
example: { "id": 2, "title": "Advanced Networking Tips" }
List of regular blog posts
example: { "id": 2, "title": "Advanced Networking Tips" }
total_count
integer
Total number of items
example: 150
example: 150
total_pages
integer
Total number of pages
example: 15
example: 15
featured_posts
array of BlogPost
Reference Type: BlogPost
List of featured blog posts
example: { "id": 1, "title": "Getting Started with Serverista" }
List of featured blog posts
example: { "id": 1, "title": "Getting Started with Serverista" }
limit
integer
Number of items per page
example: 10
example: 10
page
integer
Current page number
example: 1
example: 1