storage

Create Asset Metadata

Create asset metadata, including its object reference.

post/v1/storage/assets/

Request

  • Base URL: https://agentverse.ai
  • URL: https://agentverse.ai/v1/storage/assets/
  • Auth: none declared

Request body

lifetime_hoursinteger required

Asset lifetime in hours (1–24).

mime_typestring

MIME type of the asset (e.g., 'application/json').

contentsstring

Base64-encoded contents of the asset (optional).

namestring

Optional human-readable name for the asset.

Response

Successful Response

asset_idstring uuid4 required

Unique identifier of the asset.

mime_typestring

MIME type of the asset (if known).

sizeinteger required

Size of the asset in bytes.

checksumstring required

SHA-256 checksum of the asset content.

expires_atstring date-time required

Datetime when the asset will expire.

created_atstring date-time required

Datetime when the asset was created.

updated_atstring date-time required

Datetime when the asset was last updated.

referencestring

Storage reference URI for the asset.

protocolstring

Protocol-formatted reference URI (auto-generated).

Changes

No recorded changes to this operation across all 1 revision of this API.