---
updatedAt: 2025-06-05T21:49:15.000Z
agentTools:
  projectIndex: https://docs.cloudloop.com/llms.txt
---

# Get Contracts

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "cloudloop",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.cloudloop.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/Sbd/GetContracts": {
      "get": {
        "summary": "Get Contracts",
        "description": "",
        "operationId": "get-contracts",
        "parameters": [
          {
            "name": "subscriber",
            "in": "query",
            "description": "cloudloop subscriber id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"contracts\": [\n    {\n      \"subscriber\": \"VkqZoXzLRdyeJGEwGLEYwbQalDrPxMAj\",\n      \"networkStatus\": \"ACTIVATING\",\n      \"from\": \"2018-05-04T14:03:34\",\n      \"id\": \"AQzoKyLgvpDZOYBzkznGrxVMjqdlakeX\",\n      \"state\": \"NEW\",\n      \"to\": null,\n      \"committedTo\": null,\n      \"plan\": {\n        \"inclusive\": 0,\n        \"pooled\": false,\n        \"suspendible\": false,\n        \"name\": \"CLOUDLOOP_SBD_PLAN_TEST\",\n        \"description\": \"TEST\",\n        \"increment\": 0,\n        \"commitment\": 0,\n        \"id\": \"pwjgJyDQqreRkExwvrWAGYmVlazNdOMX\",\n        \"minimum\": 0\n      }\n    }\n  ]\n}"
                  },
                  "Multiple Contracts": {
                    "value": "{\n  \"contracts\": [\n    {\n      \"subscriber\": \"PKXeNzdgDqZwrQBblDWxMLlmoGpaOARV\",\n      \"networkStatus\": \"ACTIVATING\",\n      \"from\": \"2018-05-04T14:05:35\",\n      \"id\": \"PONAKwlzdYZQrbnLpQnjaoLkJqpevRyX\",\n      \"state\": \"NEW\",\n      \"to\": null,\n      \"plan\": {\n        \"inclusive\": 0,\n        \"pooled\": false,\n        \"suspendible\": false,\n        \"name\": \"CLOUDLOOP_SBD_PLAN_TEST\",\n        \"description\": \"TEST\",\n        \"increment\": 0,\n        \"commitment\": 0,\n        \"id\": \"MPAjovqQGZaLRnNGOXWlKkpxwgdzDYXb\",\n        \"minimum\": 0\n      }\n    },\n    {\n      \"subscriber\": \"PKXeNzdgDqZwrQBblDWxMLlmoGpaOARV\",\n      \"networkStatus\": \"DEACTIVATED\",\n      \"from\": \"2018-05-04T14:05:33\",\n      \"id\": \"aYAlRXzwrdjymbEKjZWKLNxvPkMeqgGJ\",\n      \"state\": \"NEW\",\n      \"to\": \"2018-05-04T14:05:33\"\n    }\n  ]\n}"
                  },
                  "Incomplete Input": {
                    "value": "{\n  \"at\": 1525442843521,\n  \"error\": \"DispatcherInputException\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "contracts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "subscriber": {
                                "type": "string",
                                "example": "VkqZoXzLRdyeJGEwGLEYwbQalDrPxMAj"
                              },
                              "networkStatus": {
                                "type": "string",
                                "example": "ACTIVATING"
                              },
                              "from": {
                                "type": "string",
                                "example": "2018-05-04T14:03:34"
                              },
                              "id": {
                                "type": "string",
                                "example": "AQzoKyLgvpDZOYBzkznGrxVMjqdlakeX"
                              },
                              "state": {
                                "type": "string",
                                "example": "NEW"
                              },
                              "to": {},
                              "committedTo": {},
                              "plan": {
                                "type": "object",
                                "properties": {
                                  "inclusive": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "pooled": {
                                    "type": "boolean",
                                    "example": false,
                                    "default": true
                                  },
                                  "suspendible": {
                                    "type": "boolean",
                                    "example": false,
                                    "default": true
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "CLOUDLOOP_SBD_PLAN_TEST"
                                  },
                                  "description": {
                                    "type": "string",
                                    "example": "TEST"
                                  },
                                  "increment": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "commitment": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "id": {
                                    "type": "string",
                                    "example": "pwjgJyDQqreRkExwvrWAGYmVlazNdOMX"
                                  },
                                  "minimum": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Multiple Contracts",
                      "type": "object",
                      "properties": {
                        "contracts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "subscriber": {
                                "type": "string",
                                "example": "PKXeNzdgDqZwrQBblDWxMLlmoGpaOARV"
                              },
                              "networkStatus": {
                                "type": "string",
                                "example": "ACTIVATING"
                              },
                              "from": {
                                "type": "string",
                                "example": "2018-05-04T14:05:35"
                              },
                              "id": {
                                "type": "string",
                                "example": "PONAKwlzdYZQrbnLpQnjaoLkJqpevRyX"
                              },
                              "state": {
                                "type": "string",
                                "example": "NEW"
                              },
                              "to": {},
                              "plan": {
                                "type": "object",
                                "properties": {
                                  "inclusive": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "pooled": {
                                    "type": "boolean",
                                    "example": false,
                                    "default": true
                                  },
                                  "suspendible": {
                                    "type": "boolean",
                                    "example": false,
                                    "default": true
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "CLOUDLOOP_SBD_PLAN_TEST"
                                  },
                                  "description": {
                                    "type": "string",
                                    "example": "TEST"
                                  },
                                  "increment": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "commitment": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  },
                                  "id": {
                                    "type": "string",
                                    "example": "MPAjovqQGZaLRnNGOXWlKkpxwgdzDYXb"
                                  },
                                  "minimum": {
                                    "type": "integer",
                                    "example": 0,
                                    "default": 0
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Incomplete Input",
                      "type": "object",
                      "properties": {
                        "at": {
                          "type": "integer",
                          "example": 1525442843521,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "DispatcherInputException"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```