Endpoint reference

GET /api/v1/smart-accounts/sessions/{id}/quota

Parameters

NameLocationDetails
X-Juicebox-Accountheader / requiredEnrolled account identity, including authority chain and lowercase owner address. Enrollment derives this identity before the account exists.
X-Juicebox-Signerheader / requiredOwner wallet or authorized bot address that signed this request.
X-Juicebox-Issued-Atheader / requiredUnix seconds, sent as 1–13 decimal digits without leading zeros; at most 30 seconds ahead of server time.
X-Juicebox-Expires-Atheader / requiredUnix seconds, sent as 1–13 decimal digits without leading zeros; in the future and within 300 seconds of issuedAt.
X-Juicebox-Nonceheader / requiredFresh random 32-byte lowercase nonce. A consumed nonce cannot be retried.
X-Juicebox-Signatureheader / requiredEIP-712 CenterRequest signature over every signed field. Contract-owner signatures may vary in length. This is a computed request proof, not a reusable API key.
X-Juicebox-Grantheader / optionalAuthorized bot grant ID. Required for a bot; omit for the owner, signing grantId as the empty string.
Idempotency-Keyheader / optionalSigned retry identity. Required on plan creation and transaction submission. Preserve exact method, target, Content-Type, and body bytes; use a fresh request nonce and signature.
idpath / requiredstring

Response 200

FieldTypeDetails
sessionIdstring (uuid)
required
statestring
required

Values: ["prepared","installing","active","revoking","revoked","expired","stale"]

allocationManifestHashstring
required
approvedGroupsarray
required
Fields
FieldTypeDetails
idstring
required
assetIdentitystring
required
decimalsinteger
required
totalvalue
required
Positive uint256 as an exact decimal string.
allocationsarray
required
Fields
FieldTypeDetails
idstring
required
chainIdinteger
required
assetstring
required
limitvalue
required
Positive uint256 as an exact decimal string.
assetReviewIdstring
required
localAllocationsarray
required
Fields
FieldTypeDetails
idstring
required
chainIdinteger
required
assetstring
required
limitvalue
required
Positive uint256 as an exact decimal string.
assetReviewIdstring
required
countersone of
required
observationone of
required
reservationsReleasedboolean
required
executionAuthorityboolean
required

Values: [false]

balanceSourcestring
required

Values: ["onchain-only"]

atomicAcrossChainsboolean
required

Values: [false]

JSON schema
{
  "type": "object",
  "properties": {
    "sessionId": {
      "$ref": "#/components/schemas/ResourceId"
    },
    "state": {
      "$ref": "#/components/schemas/SessionState"
    },
    "allocationManifestHash": {
      "$ref": "#/components/schemas/Hash"
    },
    "approvedGroups": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ReviewedSessionAllocationGroup"
      }
    },
    "localAllocations": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ReviewedSessionAllocation"
      }
    },
    "counters": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/SessionCounter"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "observation": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/SessionCanonicalObservation"
        },
        {
          "type": "null"
        }
      ]
    },
    "reservationsReleased": {
      "type": "boolean"
    },
    "executionAuthority": {
      "type": "boolean",
      "const": false
    },
    "balanceSource": {
      "type": "string",
      "const": "onchain-only"
    },
    "atomicAcrossChains": {
      "type": "boolean",
      "const": false
    }
  },
  "required": [
    "sessionId",
    "state",
    "allocationManifestHash",
    "approvedGroups",
    "localAllocations",
    "counters",
    "observation",
    "reservationsReleased",
    "executionAuthority",
    "balanceSource",
    "atomicAcrossChains"
  ],
  "additionalProperties": false,
  "description": "Approved allocations and observed policy counters. This is not a spendable database balance or a cross-chain atomic budget."
}