Skip to content
Endless Documentation

Extract Prompt Assets

POST
/organizations/{organization_id}/assets/{asset_id}/prompt

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length
asset_id*string
Length1 <= length

Response Body

application/json

curl -X POST "https://example.com/organizations/org_abc123/assets/0191e5a2-3d71-7c02-9a44-2b7e5c81d0a3/prompt"
{  "prompt": "string",  "cached": true}