Skip to navigation

Replace the company playbook

View as Markdown

Saves new instructions. If-Match must carry the version you edited (from version or the ETag); if someone saved in between, the answer is 412 and nothing changes.

Authentication

AuthorizationBearer

Skaitra API key (skt_…).

OR
AuthorizationBearer

OAuth 2.1 access token issued for the Skaitra resource (/mcp); see /.well-known/oauth-protected-resource.

Path parameters

idstringRequired1-200 characters

Headers

If-MatchstringOptional

The version being replaced, e.g. 3 or "3".

Idempotency-KeystringOptional<=200 characters

Any unique value; a retry with the same key returns the first result.

Request

This endpoint expects an object.
markdownstringRequired<=200000 characters
rulesobjectOptional

Response

OK
companyIdstring
markdownstring
rulesobject
versioninteger-9007199254740991-9007199254740991
updatedAtstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
428
Precondition Error