Query the "Save Asset" tool (streaming)

Invoke the "Save Asset" directly.

Query Params

The ID of the Chat to use. If not provided, a new Chat will be created.

array | null

If creating a new chat, add these tags to it. This is ignored if the chat already exists.

Body Params
string
required

The content to save. For CSV files, provide the text directly. For PNG images, provide base64-encoded content.

string
required

Human-readable name for the asset. Example: 'Quarterly Sales Report' or 'Customer Analysis Chart'

string
enum
required

MIME type of the content. Supported types: 'text/csv' (for CSV data), 'image/png' (for images)

Allowed:
number
Defaults to 4

Time-to-live in hours for the asset. After this time, the asset will expire and be automatically cleaned up. Default: 4 hours.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json