Info

Deployment queries deployment details

GEThttps://akt.nownodes.io/akash/deployment/v1beta3/deployments/info
Query parameters
Response

A successful response.

Body
deploymentDeployment stores deploymentID, state and version details
groupsarray of Group stores group id, state and specifications of group
escrow_accountAccount stores state for an escrow account
Request
const response = await fetch('https://akt.nownodes.io/akash/deployment/v1beta3/deployments/info', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "deployment": {
    "deployment_id": {
      "owner": "text",
      "dseq": "text"
    },
    "state": "invalid",
    "version": "Ynl0ZXM=",
    "created_at": "text"
  },
  "groups": [
    {
      "group_id": {
        "owner": "text",
        "dseq": "text"
      },
      "state": "invalid",
      "group_spec": {
        "name": "text",
        "requirements": {
          "signed_by": {
            "all_of": [
              "text"
            ],
            "any_of": [
              "text"
            ]
          },
          "attributes": [
            {
              "key": "text",
              "value": "text"
            }
          ]
        },
        "resources": [
          {
            "resource": {
              "cpu": {
                "units": {
                  "val": "Ynl0ZXM="
                },
                "attributes": [
                  {
                    "key": "text",
                    "value": "text"
                  }
                ]
              },
              "memory": {
                "quantity": {
                  "val": "Ynl0ZXM="
                },
                "attributes": [
                  {
                    "key": "text",
                    "value": "text"
                  }
                ]
              },
              "storage": [
                {
                  "name": "text",
                  "quantity": {
                    "val": "Ynl0ZXM="
                  },
                  "attributes": [
                    {
                      "key": "text",
                      "value": "text"
                    }
                  ]
                }
              ],
              "gpu": {
                "units": {
                  "val": "Ynl0ZXM="
                },
                "attributes": [
                  {
                    "key": "text",
                    "value": "text"
                  }
                ]
              },
              "endpoints": [
                {
                  "kind": "SHARED_HTTP"
                }
              ]
            },
            "price": {
              "denom": "text",
              "amount": "text"
            }
          }
        ]
      },
      "created_at": "text"
    }
  ],
  "escrow_account": {
    "id": {
      "scope": "text",
      "xid": "text"
    },
    "owner": "text",
    "state": "invalid",
    "balance": {
      "denom": "text",
      "amount": "text"
    },
    "transferred": {
      "denom": "text",
      "amount": "text"
    },
    "settled_at": "text",
    "depositor": "text",
    "funds": {
      "denom": "text",
      "amount": "text"
    }
  }
}