Workspace models
Get workspace model version
GET
Get workspace model version. Scoped to the organization named by organization_id, and the media model named by media_model_id, and the version named by version_id.
header
AuthorizationBearer <esk_live_…>A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.
Scope: models:read
organization_id*stringMatch
^org_media_model_id*stringFormat
uuidversion_id*stringFormat
uuidEndless-Api-Version?stringPin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
OK
application/json- response
id*stringFormat
uuidcodename*stringname*stringowner*string|nulldescription*string|nulldescription_translations*|nullreleased_at*stringoutput_type*stringValue in
"text""image""video""audio""3d"type*|nullminimum_required_plan*|nullposition*numberRange
-140737488355328 <= value <= 140737488355327unlisted*booleanparameters*string|number|boolean|null||array<unknown|null>|nullversion_id*string|nullversion_number*|nullversion_status?stringValue in
"draft""current""superseded""disabled""discarded"enabled*booleanplan_available*booleanbase_cost*number|nullcost_floor*cost_floor_by_input*preference_position?|Default
nullreplaces?array<string>Default
[]variants?array<>Default
[]quick_actions?array<>Default
[]curl -X GET 'https://api.endless.app/organizations/org_abc123/models/0191e5a2-f480-747a-ad52-1c3b7e95f24d/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "codename": "string", "name": "string", "owner": "string", "description": "string", "description_translations": { "property1": "string", "property2": "string" }, "released_at": "string", "output_type": "text", "type": "edit", "minimum_required_plan": "hobby", "position": -140737488355328, "unlisted": true, "parameters": "string", "version_id": "string", "version_number": -9007199254740991, "version_status": "draft", "enabled": true, "plan_available": true, "base_cost": 0, "cost_floor": { "min": 0, "max": 0, "parameters": { "property1": null, "property2": null }, "open_ended": true }, "cost_floor_by_input": { "image": { "min": 0, "max": 0, "parameters": { "property1": null, "property2": null }, "open_ended": true }, "video": { "min": 0, "max": 0, "parameters": { "property1": null, "property2": null }, "open_ended": true }, "audio": { "min": 0, "max": 0, "parameters": { "property1": null, "property2": null }, "open_ended": true } }, "preference_position": null, "replaces": [], "variants": [], "quick_actions": []}