Docs
Canonical resources

GET /v1/vaults/{resourceId}/liquidity

Get portfolio liquidity, duration, and exit terms

AvailabilityPrivate Preview
Method and pathGET /v1/vaults/{resourceId}/liquidity
API version1.0.0-private-preview
Base URLhttps://api.torq.finance
AuthenticationAnonymous discovery
IdempotencyNot declared by this operation.
Rate limitsRead x-ratelimit-* and x-request-id response headers. Do not hard-code a quota.

Request examples

terminal
curl -X GET 'https://api.torq.finance/v1/vaults/sample_resourceid/liquidity' \
  -H 'Accept: application/json'
Run a safe sample

This calls the docs preview and returns sample data shaped by the governed OpenAPI response. It never accepts credentials or changes protocol state.

Run the sample call to inspect a schema-shaped response without credentials or side effects.
Request bodyNone.

Parameters

NameInRequiredType
resourceIdpathYesstring

Responses

StatusMeaningSchema
200Successful responseVaultLiquidityResource
400Invalid requestTorqApiError
401Authentication requiredTorqApiError
403Insufficient scope or authorityTorqApiError
409State or idempotency conflictTorqApiError
429Rate limit exceededTorqApiError
500Internal failureTorqApiError

200 response schema

VaultLiquidityResource VaultLiquidityResource

PropertyTypeRequiredDescription
vaultIdstringNo
vaultAddressstringNo
idleAssetsstring | nullNo
totalAllocatedAssetsstring | nullNo
immediatelyAvailableAssetsstring | nullNo
liquidityBufferBpsinteger | nullNo
baseAssetLockupPeriodstring | nullNo
portfolioLockupStatusstring | nullNo
longestKnownLockupPeriodstring | nullNo
attachedMarketCountinteger | nullNo
exposedMarketCountinteger | nullNo
unverifiedMarketCountinteger | nullNo
exitTermKindstring | nullNo
noticeSecondsstring | nullNo
intervalSecondsstring | nullNo
maturityTimestampstring | null (date-time)No
tighteningLockedboolean | nullNo
stressCoverageStatusstring | nullNo
durationCompatibleboolean | nullNo
blockedReasonstring | nullNo
marketLiquidityobject[]No
Inspect nested properties

vaultId string · optional

vaultAddress string · optional

pattern: ^0x[a-fA-F0-9]{40}$

idleAssets string | null · optional

pattern: ^[0-9]+$ · nullable

totalAllocatedAssets string | null · optional

pattern: ^[0-9]+$ · nullable

immediatelyAvailableAssets string | null · optional

pattern: ^[0-9]+$ · nullable

liquidityBufferBps integer | null · optional

nullable

baseAssetLockupPeriod string | null · optional

nullable

portfolioLockupStatus string | null · optional

nullable

longestKnownLockupPeriod string | null · optional

nullable

attachedMarketCount integer | null · optional

nullable

exposedMarketCount integer | null · optional

nullable

unverifiedMarketCount integer | null · optional

nullable

exitTermKind string | null · optional

nullable

noticeSeconds string | null · optional

pattern: ^[0-9]+$ · nullable

intervalSeconds string | null · optional

pattern: ^[0-9]+$ · nullable

maturityTimestamp string | null (date-time) · optional

nullable

tighteningLocked boolean | null · optional

nullable

stressCoverageStatus string | null · optional

nullable

durationCompatible boolean | null · optional

nullable

blockedReason string | null · optional

nullable

marketLiquidity object[] · optional

items object

400, 401, 403, 409, 429, 500 response schema

TorqApiError TorqApiError

PropertyTypeRequiredDescription
okbooleanYes
codestringYes
messagestringYes
requestIdstringYes
retryablebooleanYes
blockedReasonstring | nullNo
docsUrlstring (uri)No
Inspect nested properties

ok boolean · required

code string · required

minimum length: 1 · maximum length: 200

message string · required

minimum length: 1 · maximum length: 200

requestId string · required

minimum length: 1 · maximum length: 200

retryable boolean · required

blockedReason string | null · optional

nullable

docsUrl string (uri) · optional

Related guides

For retry behavior and blocked-state handling, see Errors and rate limits.