{
  "schemaVersion": 1,
  "operation": {
    "operationId": "getProductSystemStatus",
    "method": "GET",
    "path": "/api/v1/instance/system",
    "summary": "Get redacted system status",
    "description": "",
    "tags": [
      "Instance"
    ],
    "effect": "read",
    "confirmation": "never",
    "parameters": [],
    "responses": [
      {
        "status": "200",
        "description": "The request has succeeded.",
        "content": [
          {
            "contentType": "application/json",
            "schema": {
              "$ref": "#/components/schemas/ProductSystemStatusResponse"
            }
          }
        ]
      },
      {
        "status": "400",
        "description": "The server could not understand the request due to invalid syntax.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "401",
        "description": "Access is unauthorized.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "403",
        "description": "Access is forbidden.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "404",
        "description": "The server cannot find the requested resource.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "409",
        "description": "The request conflicts with the current state of the server.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "412",
        "description": "Precondition failed.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "413",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "415",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "422",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "429",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "500",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "502",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "503",
        "description": "Service unavailable.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      }
    ]
  },
  "schemas": {
    "ProblemDetails": {
      "example": {
        "code": "example",
        "detail": "example",
        "errors": [
          {
            "code": "example",
            "detail": "example",
            "field": "example"
          }
        ],
        "instance": "example",
        "requestId": "example",
        "status": 1,
        "title": "example",
        "type": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "errors": {
          "example": [
            {
              "code": "example",
              "detail": "example",
              "field": "example"
            }
          ],
          "items": {
            "$ref": "#/components/schemas/ProblemFieldError"
          },
          "type": "array"
        },
        "instance": {
          "example": "example",
          "type": "string"
        },
        "requestId": {
          "example": "example",
          "type": "string"
        },
        "status": {
          "example": 1,
          "format": "int32",
          "type": "integer"
        },
        "title": {
          "example": "example",
          "type": "string"
        },
        "type": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "type",
        "title",
        "status",
        "detail",
        "instance",
        "code",
        "requestId",
        "errors"
      ],
      "type": "object"
    },
    "ProblemFieldError": {
      "example": {
        "code": "example",
        "detail": "example",
        "field": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "field": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "field",
        "code",
        "detail"
      ],
      "type": "object"
    },
    "ProductAgentStatusResponse": {
      "example": {
        "available": true,
        "configured": true,
        "modelConfigured": true,
        "provider": "example"
      },
      "properties": {
        "available": {
          "example": true,
          "type": "boolean"
        },
        "configured": {
          "example": true,
          "type": "boolean"
        },
        "modelConfigured": {
          "example": true,
          "type": "boolean"
        },
        "provider": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "available",
        "configured",
        "modelConfigured"
      ],
      "type": "object"
    },
    "ProductBuildResponse": {
      "example": {
        "buildTime": "example",
        "development": true,
        "dirty": true,
        "revision": "example",
        "version": "example"
      },
      "properties": {
        "buildTime": {
          "example": "example",
          "type": "string"
        },
        "development": {
          "example": true,
          "type": "boolean"
        },
        "dirty": {
          "example": true,
          "type": "boolean"
        },
        "revision": {
          "example": "example",
          "type": "string"
        },
        "version": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "version",
        "revision",
        "buildTime",
        "dirty",
        "development"
      ],
      "type": "object"
    },
    "ProductLimitsResponse": {
      "example": {
        "managedDataMaxFileBytes": 1,
        "managedDataMaxFiles": 1,
        "managedDataMaxRevisionBytes": 1,
        "queryResultMaxBytes": 1,
        "queryResultMaxRows": 1
      },
      "properties": {
        "managedDataMaxFileBytes": {
          "example": 1,
          "format": "int64",
          "type": "integer"
        },
        "managedDataMaxFiles": {
          "example": 1,
          "format": "int32",
          "type": "integer"
        },
        "managedDataMaxRevisionBytes": {
          "example": 1,
          "format": "int64",
          "type": "integer"
        },
        "queryResultMaxBytes": {
          "example": 1,
          "format": "int64",
          "type": "integer"
        },
        "queryResultMaxRows": {
          "example": 1,
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "queryResultMaxRows",
        "queryResultMaxBytes",
        "managedDataMaxFiles",
        "managedDataMaxFileBytes",
        "managedDataMaxRevisionBytes"
      ],
      "type": "object"
    },
    "ProductSystemStatusResponse": {
      "example": {
        "agent": {
          "available": true,
          "configured": true,
          "modelConfigured": true,
          "provider": "example"
        },
        "build": {
          "buildTime": "example",
          "development": true,
          "dirty": true,
          "revision": "example",
          "version": "example"
        },
        "canonicalOrigin": "example",
        "controlPlane": "example",
        "environment": "example",
        "instanceId": "example",
        "limits": {
          "managedDataMaxFileBytes": 1,
          "managedDataMaxFiles": 1,
          "managedDataMaxRevisionBytes": 1,
          "queryResultMaxBytes": 1,
          "queryResultMaxRows": 1
        },
        "storageBackend": "example"
      },
      "properties": {
        "agent": {
          "$ref": "#/components/schemas/ProductAgentStatusResponse"
        },
        "build": {
          "$ref": "#/components/schemas/ProductBuildResponse"
        },
        "canonicalOrigin": {
          "example": "example",
          "type": "string"
        },
        "controlPlane": {
          "example": "example",
          "type": "string"
        },
        "environment": {
          "example": "example",
          "type": "string"
        },
        "instanceId": {
          "example": "example",
          "type": "string"
        },
        "limits": {
          "$ref": "#/components/schemas/ProductLimitsResponse"
        },
        "storageBackend": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "instanceId",
        "canonicalOrigin",
        "environment",
        "build",
        "controlPlane",
        "storageBackend",
        "agent",
        "limits"
      ],
      "type": "object"
    }
  }
}
