Skip to main content
GET
List your models
Restituisce una pagina dei modelli di proprietà della tua organizzazione, a partire da quelli creati più di recente. Filtra per category (style, object, person, setting) e/o status, e pagina con limit e offset. La risposta include un oggetto pagination (limit, offset, has_more). Richiede lo scope models.read.

Autorizzazioni

Authorization
string
header
obbligatorio

Organization API key as a bearer token: Authorization: Bearer samsa_sk_....

Parametri della query

category
enum<string> | null

Filter to a single category. Public model category (ADR §8.2).

Maps to the internal ModelType stored in models.type (NOT the separate models.category column). setting is the public name for internal SCENE; the others are a straight upper/lower-case swap. Internal BASE is never exposed publicly.

Opzioni disponibili:
style,
object,
person,
setting
status
enum<string> | null

Filter to a single creation status. Public model creation / readiness status — the lower-cased internal status.

Opzioni disponibili:
pending,
processing,
completed,
failed
limit
integer
predefinito:20

Maximum number of models to return (1-100).

Intervallo richiesto: 1 <= x <= 100
offset
integer
predefinito:0

Number of models to skip.

Intervallo richiesto: x >= 0

Risposta

Successful Response

GET /models response — one page of the models you can access.

The models you own (including your own private models) plus non-private models shared within your organization.

data
PublicModelSummary · object[]
obbligatorio
pagination
Pagination · object
obbligatorio

Offset-pagination metadata for list responses.