Skip to navigation

Restore an answer

Puts the originals back into an LLM’s answer; altered tags still restore, unknown ones stay as they are.

Authentication

AuthorizationBearer

An API key: Authorization: Bearer bl_live_….

OR
AuthorizationBearer

Blende’s apps: a sign-in JWT, sent with Blende-Context-Key.

Headers

Blende-Context-KeystringOptionalformat: "^[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048]$"=43 characters

JWT only: the user’s context key, 43 base64url characters.

Request

This endpoint expects an object.
textstringRequired<=50000 characters

The complete answer, tags whole; at most 50,000 code points.

detailedbooleanOptionalDefaults to false

true adds the tags found.

Response headers

Cache-ControlenumOptional

Always no-store.

Allowed values:
Request-IdstringOptional
The request's id.
RateLimitstringOptional
The quota left in the current window.
RateLimit-PolicystringOptional

The rate-limit policy in force.

Response

The restored text; with detailed, each tag found.

restored_textstring
The restored text.
tagslist of objectsOptional

With detailed: true: one per tag found.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
415
Unsupported Media Type Error
429
Too Many Requests Error
500
Internal Server Error