Skip to main content
PUT
/
template
/
{id}
/
transparency-declaration
Update transparency declaration
curl --request PUT \
  --url https://api.promptmetrics.dev/template/{id}/transparency-declaration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ai_disclosure_enabled": true,
  "content_marking_enabled": true,
  "human_oversight_enabled": true,
  "note": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
ai_disclosure_enabled
boolean
content_marking_enabled
boolean
human_oversight_enabled
boolean
note
string

Response

200

Transparency updated