Execute Tool
Changed onExecute a specific tool by passing encrypted parameters.
Request
- Base URLhttps://gateway.prem.io
- AuthHTTP bearer and API key in header Authorization
Path parameters
The tool identifier (e.g., generateImage, audioGenerateFromText, createFileForUser)
Request body
Example request
{
"title": "Web Search Request",
"value": {
"cipherText": "a1b2c3d4e5f6...",
"encryptedParams": "9f8e7d6c5b4a...",
"nonce": "1a2b3c4d5e6f..."
}
}Response
Tool executed successfully with encrypted response
Example response
{
"status": 200,
"data": {
"id": "123"
},
"error": null,
"log": null,
"validator": null,
"support_id": null,
"message": "Resource created successfully",
"env": "development"
}Changes
- warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to theresponse property for the response status
- warning
- info
endpoint added
- info