Assets
Extract prompt from asset
POST
Extract prompt from asset. Scoped to the asset named by asset_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: assets:read
asset_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
prompt*stringcached*booleancurl -X POST 'https://api.endless.app/assets/0191e5a2-3d71-7c02-9a44-2b7e5c81d0a3/prompt'Example Response
{ "prompt": "string", "cached": true}