Skip to main content
GET
/
api
/
v1
/
knowledge-items
/
me
Get My Latest Knowledge Item
curl --request GET \
  --url http://localhost:8000/api/v1/knowledge-items/me \
  --header 'Authorization: Bearer <token>'
{
  "text": "<string>",
  "id": 123,
  "company": {
    "id": 123,
    "name": "<string>"
  },
  "date_added": "2023-11-07T05:31:56Z",
  "date_updated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

company_id
integer
required

The CattixCompany ID

Response

KnowledgeItemSchema · object | null

Successful Response

The schema for a knowledge item.

text
string
required
id
integer
required
company
The company to which the knowledge item belongs · object
required

The schema for a Cattix company.

date_added
string<date-time>
required
date_updated
string<date-time>
required