Skip to main content
GET
/
assets
/
trash
List trashed assets
curl --request GET \
  --url https://versuno.ai/api/public/assets/trash \
  --header 'Authorization: <api-key>'
import requests

url = "https://versuno.ai/api/public/assets/trash"

headers = {"Authorization": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};

fetch('https://versuno.ai/api/public/assets/trash', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://versuno.ai/api/public/assets/trash"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://versuno.ai/api/public/assets/trash",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
require 'uri'
require 'net/http'

url = URI("https://versuno.ai/api/public/assets/trash")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'

response = http.request(request)
puts response.read_body
HttpResponse<String> response = Unirest.get("https://versuno.ai/api/public/assets/trash")
.header("Authorization", "<api-key>")
.asString();
using RestSharp;


var options = new RestClientOptions("https://versuno.ai/api/public/assets/trash");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "<api-key>");
var response = await client.GetAsync(request);

Console.WriteLine("{0}", response.Content);
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "assetType": "prompt",
    "title": "Customer support assistant",
    "description": "Handles tier-1 support tickets",
    "content": "You are a friendly customer support agent. Help users resolve their issues quickly and professionally.",
    "content_blocks": [
      {
        "id": "b_11111111-1111-4111-8111-111111111111",
        "type": "heading",
        "meta": {
          "level": 2
        },
        "content": "Support Workflow"
      },
      {
        "id": "b_22222222-2222-4222-8222-222222222222",
        "type": "paragraph",
        "meta": {},
        "content": "Greet the user, ask clarifying questions, then propose next steps."
      },
      {
        "id": "b_33333333-3333-4333-8333-333333333333",
        "type": "todo_list",
        "meta": {},
        "content": null,
        "children": [
          {
            "id": "b_44444444-4444-4444-8444-444444444444",
            "type": "paragraph",
            "meta": {
              "checked": false
            },
            "content": "Confirm account email"
          },
          {
            "id": "b_55555555-5555-4555-8555-555555555555",
            "type": "paragraph",
            "meta": {
              "checked": true
            },
            "content": "Acknowledge issue details"
          }
        ]
      }
    ],
    "emoji": "🤖",
    "isPublic": false,
    "currentVersion": 3,
    "projectId": null,
    "teamId": null,
    "userId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "createdAt": "2026-01-15T10:30:00.000Z",
    "updatedAt": "2026-01-20T14:45:00.000Z",
    "deletedAt": null
  }
]
{
"error": "Wrong data: assetType is required"
}
{
"error": "Invalid API key"
}

Authorizations

Authorization
string
header
default:Bearer uk_live_your_api_key_here
required

Versuno API key. Must be prefixed with Bearer. Format: Bearer uk_live_...

Query Parameters

assetIds
string

Comma-separated UUIDs to fetch (max 100).

Response

Array of trashed asset objects.

id
string<uuid>

Unique identifier for the asset.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

assetType
enum<string>

Type of AI asset. Immutable after creation.

Available options:
prompt,
persona,
context,
system_prompt,
skill
Example:

"prompt"

title
string

Display name of the asset.

Example:

"Customer support assistant"

description
string | null

Short summary shown in the UI.

Example:

"Handles tier-1 support tickets"

content
string

The main content body of the asset.

Example:

"You are a friendly customer support agent. Help users resolve their issues quickly and professionally."

content_blocks
object[] | null

Structured block tree resolved from ai_asset_blocks.

Example:
[
{
"id": "b_11111111-1111-4111-8111-111111111111",
"type": "heading",
"meta": { "level": 2 },
"content": "Support Workflow"
},
{
"id": "b_22222222-2222-4222-8222-222222222222",
"type": "paragraph",
"meta": {},
"content": "Greet the user, ask clarifying questions, then propose next steps."
},
{
"id": "b_33333333-3333-4333-8333-333333333333",
"type": "todo_list",
"meta": {},
"content": null,
"children": [
{
"id": "b_44444444-4444-4444-8444-444444444444",
"type": "paragraph",
"meta": { "checked": false },
"content": "Confirm account email"
},
{
"id": "b_55555555-5555-4555-8555-555555555555",
"type": "paragraph",
"meta": { "checked": true },
"content": "Acknowledge issue details"
}
]
}
]
emoji
string | null

Single emoji icon for the asset.

Example:

"🤖"

isPublic
boolean

Whether the asset is publicly visible.

Example:

false

currentVersion
integer

Latest version number of this asset (1 if no versions exist yet).

Example:

3

projectId
string<uuid> | null

ID of the project this asset belongs to, or null if unassigned.

Example:

null

teamId
string<uuid> | null

ID of the team workspace this asset belongs to, or null for personal.

Example:

null

userId
string<uuid>

ID of the user who owns this asset.

Example:

"b2c3d4e5-f6a7-8901-bcde-f12345678901"

createdAt
string<date-time>

ISO 8601 timestamp when the asset was created.

Example:

"2026-01-15T10:30:00.000Z"

updatedAt
string<date-time>

ISO 8601 timestamp of the last update.

Example:

"2026-01-20T14:45:00.000Z"

deletedAt
string<date-time> | null

ISO 8601 timestamp when the asset was trashed, or null if active.

Example:

null