# List all the data sources in your company by state

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "MineOS API",
    "version": "v1.0"
  },
  "servers": [
    {
      "url": "https://api.portal.saymine.com/",
      "description": "MineOS EU API Endpoint"
    },
    {
      "url": "https://api.us.portal.saymine.com/",
      "description": "MineOS US API Endpoint"
    }
  ],
  "paths": {
    "/api/public-v1/system/List": {
      "get": {
        "tags": [
          "System"
        ],
        "summary": "List all the data sources in your company by state",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "description": "The state of the requested data sources.",
            "schema": {
              "$ref": "#/components/schemas/SystemState"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "The offset size for pagination. default is 0",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The page size for pagination. default is 100",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SystemPublicLeanResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorPublicResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorPublicResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorPublicResponse": {
        "type": "object",
        "properties": {
          "internalErrorCode": {
            "$ref": "#/components/schemas/InternalErrorCode"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalErrorCode": {
        "enum": [
          "GeneralError",
          "NotFound",
          "AlreadyExists",
          "InvalidArgument"
        ],
        "type": "string"
      },
      "SystemPublicLeanResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SystemState": {
        "enum": [
          "Unknown",
          "Radar",
          "Inventory",
          "Trash",
          "Merged"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Authorization header using the Bearer scheme. \r\n\r\nEnter 'Bearer' [space] and then your API Key in the text input below.\r\n\r\nExample: 'Bearer 12345abcdef'",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ]
}
```