Skip to content

List resources: `view=Queue` is what the orchestrator is loading now, `view=Loaded` what at least one worker holds and can use now. Each page is a fresh snapshot.​

GET
/v2/resources

Parameters​

Query Parameters

view*

A projection of the resource collection. There is no view that lists every known resource — resources
are addressed by AIR and only materialise once something asks for them.

Type
string
Required
Valid values
"queue""loaded"
cursor
Type
string
take
Type
integer
Format
"int32"
Default
100
type

Repeatable, OR'd. Matches the AIR's type segment literally, with no alias expansion: that
segment names the model's type rather than the file's, so checkpoint does not cover
base weights arriving as diffusion_model, diffusionmodel or unet.

Type
array
excludeType

Repeatable, OR'd, and wins over type. other, torchcompilecache and
nodepacklayer are the generated artifacts rather than models.

Type
array
source

Repeatable, OR'd, matched against the AIR's source segment. civitai is the cheapest
way to drop everything the orchestrator generated itself.

Type
array
minSizeBytes

Inclusive. 1073741824 (1 GiB) is where a resource starts taking the large download lane. A
resource whose provider never reported a byte count has size 0 and is excluded by any value.

Type
integer
Format
"int64"
maxSizeBytes

Inclusive.

Type
integer
Format
"int64"

Responses​

OK

application/json
JSON

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Civitai Developer Documentation