MessageOS
APIKnowledge

List knowledge entries

GET
/knowledge

Returns up to 200 draft and approved entries for this client, filtered by status and tag. Scope: knowledge:read.

Authorization

bearer
headerAuthorizationBearer <mosc_...>

A client key (mosc_).

Query Parameters

status?string
Value in"draft""approved""archived"
tag?string

Only entries with this tag.

Response Body

The entries.

application/json
  1. response
entries*array<>

Example request

curl 'https://api.messageos.ai/v1/knowledge' \  -H 'Authorization: Bearer mosc_...'

Example response

{  "entries": [    {      "id": 12,      "question": "Where can I park?",      "answer": "Parking is in the lot behind the building.",      "tags": [        "parking"      ],      "verbatim": true,      "status": "draft",      "source": "seed",      "version": 1,      "approvedBy": null    }  ]}