Try asking a question about Knot to the AI assistant, or install the MCP server or Knot skill to build with AI right from your IDE.
curl --request GET \
--url https://production.knotapi.com/audit_logs \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "c2d88312-1b26-6de8-a4cg-7f1a3h92g81",
"datetime": "2025-12-25T08:15:30Z",
"event": {
"action": "secret.view",
"outcome": {
"status": "success"
}
},
"actor": {
"name": "Ada Lovelace",
"email": "ada@lovelace.com"
},
"target": {
"type": "secret",
"name": null,
"environment": "production"
},
"context": {
"ip": "208.204.24.80",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
}
}
],
"next_cursor": "eyJpZCI6MTIzNDU2LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",
"limit": 100
}Retrieve audit logs for employee usage of the Knot Dashboard.
curl --request GET \
--url https://production.knotapi.com/audit_logs \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "c2d88312-1b26-6de8-a4cg-7f1a3h92g81",
"datetime": "2025-12-25T08:15:30Z",
"event": {
"action": "secret.view",
"outcome": {
"status": "success"
}
},
"actor": {
"name": "Ada Lovelace",
"email": "ada@lovelace.com"
},
"target": {
"type": "secret",
"name": null,
"environment": "production"
},
"context": {
"ip": "208.204.24.80",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
}
}
],
"next_cursor": "eyJpZCI6MTIzNDU2LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",
"limit": 100
}Documentation Index
Fetch the complete documentation index at: https://docs.knotapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Filter audit logs to those created on or after this timestamp. Must be in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
"2025-01-01T00:00:00Z"
Filter audit logs to those created on or before this timestamp. Must be in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
"2025-12-31T23:59:59Z"
Cursor token for pagination. Use the next_cursor value from the previous response to retrieve the next page of results.
"eyJpZCI6MTIzNDU2LCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9"
Was this page helpful?
Suggestions