- Introduction
- Auth
- Bolts
- Sites
- Git
- Domains
- Logs
- List Sites
- Create Site
- Get Site
- Update Site
- Delete Site
- Purge Site Cache
- List Site Cronjobs
- Get Site Statistics
- Get Environment Available Settings
- Get Site Available PHP Versions
- Get Site Usage
- Get Site SSH Accesses
- Create Site SSH Access
- Remove Site SSH Access
- List Site Databases
- Toggle Site Dev Mode
- Site Install Wordpress
- Site Optimize Wordpress
- Locations
- Databases
- Cronjobs
- SSH Keys
- Certificates
- Billing
- Profile
TTFB Statistics
GET
https://api.servebolt.io/v1/bolts/{boltId}/statistics/ttfb
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
boltId
string
required
Example:
1234
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.servebolt.io/v1/bolts/1234/statistics/ttfb'
Responses
🟢200OK
application/json
Body
array of:
val1
integer
required
val2
integer
required
time_stamp
string
required
Example
[
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-03T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-04T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-05T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-06T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-07T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-08T00:00:00Z"
},
{
"val1": 0,
"val2": 0,
"time_stamp": "2024-05-09T00:00:00Z"
}
]
Modified at 2024-07-04 12:38:35