simpla.fydocs

Restore agent prompt to a previous version (admin only)

POST
/api/v1/orgs/{orgId}/prompts/{agentId}/restore

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/orgs/{orgId}/prompts/{agentId}/restore" \  -H "Content-Type: application/json" \  -d '{    "version": 1  }'
Empty
Empty
Empty
Empty
Empty