Skip to main content

API status

GET 

/api/system/status

Return runtime status of the API and statistics about it.

Request

Header Parameters

    x-correlation-id X-Correlation-Id

    Correlation ID is a special type of request ID which is unique over a series of requests and responses, identifying a transaction in a distributed system. Correlation ID will be generated if not provided.

    Default value:
    x-request-id X-Request-Id

    In distributed system architecture (microservices architecture) it is a unique ID of request and response combination throughout all components of a distributed system. Request ID will be generated if not provided.

    Default value:

Responses

Successful Response

Schema
    storages object[]required

    List of available file storages with their status.

  • Array [
  • typeType (string)required

    Storage type.

    Possible values: [input, internal, output]

    capacityCapacity (integer)required

    Maximum capacity of the storage in bytes.

    usageUsage (integer)required

    Current usage of the storage in bytes.

  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://docs.cloud.phonexia.com/api/system/status");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());