Skip to Content

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/articles

Exported methods: GET, POST

GET

  • Resource scopes: kb:read
  • Query parameters: categoryId, limit, page, search, status
  • Shared pagination: Yes

POST

  • Resource scopes: kb:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
categoryIdstringYesNo——
contentstringNoNo—min(1)
excerptstringYesNo—max(1000)
slugstringNoNo—min(1), max(300)
statusenumYesNoDRAFT, PUBLISHED, ARCHIVED—
tagsarrayYesNo——
titlestringNoNo—min(1), max(300)

/api/v1/kb/articles/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: kb:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found

PATCH

  • Resource scopes: kb:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
categoryIdstringYesYes——
contentstringYesNo—min(1)
excerptstringYesNo—max(1000)
slugstringYesNo—min(1), max(300)
statusenumYesNoDRAFT, PUBLISHED, ARCHIVED—
tagsarrayYesNo——
titlestringYesNo—min(1), max(300)

DELETE

  • Resource scopes: kb:write
  • Path parameters: id
  • Response keys observed across outcomes: ok

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.

/api/v1/kb/categories

Exported methods: GET, POST

GET

  • Resource scopes: kb:read
  • Response keys observed across outcomes: data

POST

  • Resource scopes: kb:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
descriptionstringYesNo—max(1000)
iconstringYesNo—max(100)
namestringNoNo—min(1), max(200)
parentIdstringYesNo——
slugstringNoNo—min(1), max(200)
sortOrdernumberYesNo—int()

/api/v1/kb/categories/{id}

Exported methods: PATCH, DELETE

PATCH

  • Resource scopes: kb:write
  • Path parameters: id
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
descriptionstringYesYes—max(1000)
iconstringYesYes—max(100)
namestringYesNo—min(1), max(200)
parentIdstringYesYes——
slugstringYesNo—min(1), max(200)
sortOrdernumberYesNo—int()

DELETE

  • Resource scopes: kb:write
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: ok

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.