curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-knowledge-item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>"
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}Debug the get_knowledge_item function.
Args: request (KnowledgeItemsDebugRequest): The debug request parameters. approved_user (User): The authenticated user.
Returns: DebugFunctionResponse: The function execution result.
curl --request POST \
--url http://localhost:8000/api/v1/debug/assistant-functions/get-knowledge-item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"google_ads_customer_id": "<string>",
"google_ads_login_customer_id": "<string>"
}
'{
"success": true,
"data": "<string>",
"execution_time_ms": 123
}The access token received from the authorization server in the OAuth 2.0 flow.