target-profile

Confirm values of a target's profile

Make single answers and list items the customer's without changing them: what auto-discovery wrote, and a switch left at off. Name each item by the text between its fence tags, a tool or user type by its name and a line by itself. Send the profile_id and version from the last read. Answers with the profile's id and new version.

post/api/v1/model/{model_id}/profile/confirm

Request

  • Base URL: https://api.enokilabs.ai
  • URL: https://api.enokilabs.ai/api/v1/model/{model_id}/profile/confirm
  • Auth: none declared

Path parameters

model_idstring required

Headers

Authorizationstring nullable

Bearer token with API key

Request body

versioninteger required

The version the confirm starts from, from the last read.

profile_idstring required

The profile_id of the last read, sent with the version.

answersstring[]

Single answers to confirm, by field name, such as 'purpose'. A switch left at off, such as 'has_guardrails', can be confirmed as it is; an empty answer, or a flag that is unknown, cannot: set it instead.

itemsobject

List items to confirm: field name (such as 'tools') to the items, each named by the text between its fence tags: a tool or user type by its name, a line by itself.

Response

Successful Response

model_idstring required
profile_idstring required
versioninteger required

The profile's version now; send it with the next change.

Changes

No recorded changes to this operation across all 1 revision of this API.