Skip to content
Kumquat
Esc
↑↓navigate↵open⌘Jpreview

List Assets

GET/api/v1/assets
Authorization
AuthorizationBearer token · headerrequired
or
AuthorizationOAuth2 access token · headerrequired
Query parameters
kindAssetKind | any
authorstring | any
Clerk user id of whoever generated it
graph_idstring | any
run_idstring | any
tagstring[] | any
Repeatable; several tags narrow the feed
searchstring | any
Matches the prompt, case-insensitively
has_promptboolean | any
True for the files a model was asked for, false for the ones an edit produced — a cut or a join writes no prompt. Omitted, the feed holds both.
limitinteger
min 1 · max 100 · default: 24
offsetinteger
min 0 · default: 0
Responses
200Successful Response
successboolean
default: true
dataAssetsList | any
Show properties
Any of:
AssetsList
assetsGeneratedAsset[]required
Show properties
Array of GeneratedAsset
idstringrequired
urlstringrequired
sha256stringrequired
kindAssetKindrequired
What a generated file is. The values match the engine's media `PortType`s deliberately: the harvest that finds these files reads the kind off a node's declared output port, and hands the value over as a plain string so neither package has to import the other.
Allowed:imagevideoaudio
node_typestringrequired
node_idstringrequired
modelstring | any
Show properties
Any of:
string
string
any
any
promptstring | any
Show properties
Any of:
string
string
any
any
run_idstringrequired
run_generationinteger | any
Show properties
Any of:
integer
integer
any
any
graph_idstring | any
Show properties
Any of:
string
string
any
any
owner_idstringrequired
tagsstring[]
created_atstring<date-time>
metaPaginationMetarequired
Show properties
totalintegerrequired
limitintegerrequired
offsetintegerrequired
any
any
messagestring | any
Show properties
Any of:
string
string
any
any
errorsstring[] | any
Show properties
Any of:
string[]
Array of string
string
any
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X GET "/api/v1/assets" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "success": true,
  "data": {
    "assets": [
      {
        "id": "string",
        "url": "string",
        "sha256": "string",
        "kind": "image",
        "node_type": "string",
        "node_id": "string",
        "model": "string",
        "prompt": "string",
        "run_id": "string",
        "run_generation": 0,
        "graph_id": "string",
        "owner_id": "string",
        "tags": [
          "string"
        ],
        "created_at": "2019-08-24T14:15:22Z"
      }
    ],
    "meta": {
      "total": 0,
      "limit": 0,
      "offset": 0
    }
  },
  "message": "string",
  "errors": [
    "string"
  ]
}