Skip to main content

Asset

Asset is a type that represents a document, image, or any other file type. It contains a signed URL that can be used to download the asset, as well as metadata about the asset with the expiration date of the signed URL.

type Asset {
signedURL: String!
expiresAt: Time!
contentType: String!
size: Int!
}

Fields

Asset.signedURL ● String! non-null scalar

The URL to download the asset.

Asset.expiresAt ● Time! non-null scalar

The expiration date of the signed URL.

Asset.contentType ● String! non-null scalar

The content type of the asset. Example: application/pdf

Asset.size ● Int! non-null scalar

The size of the asset in bytes.

Member Of

ConsumptionCostOverview object ● Contract object ● Invoice object