curl --request GET \
--url http://localhost:8000/api/v1/knowledge-items/ \
--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"
}
]Get the knowledge items for the Google Ads customer with the given ID.
Args: customer_id (int | None): The ID of the Google Ads customer _admin_user (User): The current user. Must be an approved user.
Returns: list: The list of knowledge items
curl --request GET \
--url http://localhost:8000/api/v1/knowledge-items/ \
--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"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response