Public M2M API — kb
Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.
Authentication and permissions · Requests, results and recovery
/api/v1/kb
Exported methods: GET, POST, DELETE
GET
- Resource scopes:
kb:read - Query parameters:
category,id,includeCategories,limit,page,search,slug,status,tag - Shared pagination: Yes
- Response keys observed across outcomes:
data,pagination,tenantId
POST
- Resource scopes:
kb:write - Explicit response statuses:
201,400,409,422 - Explicit error codes:
invalid_request,kb_operation_failed,onboarding_incomplete - Response keys observed across outcomes:
data
Send a JSON object. Observed branch requirements: When create, provide title, content; When update, provide id and action=update, title, or content. Other fields and downstream service validation depend on the branch; verify the result.
JSON properties observed: action, category, content, id, status, tags, title.
These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.
DELETE
- Resource scopes:
kb:write - Query parameters:
id - Explicit response statuses:
400,409,422 - Explicit error codes:
invalid_request,kb_delete_failed,onboarding_incomplete - Response keys observed across outcomes:
data
Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.