GET
/v1/schemas/worldlabs/world/marble/v1/media-assets/{media_asset_id}?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace4a3ed614672e0b640de378db458907865a4e9c05499482f1e2a79fba5977eebe{
"fetchedAt": 1794287457,
"extractorVersion": "2",
"verifiedAt": null
} |
Response body
7 properties · 4 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| created_at* | string | Creation timestamp | format: date-time |
| file_name* | string | File name | |
| kind* | enum | High-level media type | image | video |
| media_asset_id* | string | Server-generated media asset identifier | |
| extension | string | File extension without dot | nullable |
| metadata | object | Optional application-specific metadata | nullable |
| updated_at | string | Last update timestamp | format: date-time · nullable |
Types
1 $defsMediaAssetKindenum
High-level media asset type.
image | video
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"worldlabs","endpointId":"marble/v1/media-assets/{media_asset_id}","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}