Aller au contenu

Environnement de développement : contenu en cours de rédaction, rien ne pointe vers la production.

Sommaire de la documentation

audit

Version 0.1.01 opération

Audit events of an organisation, newest first (owners and Konnect support)

GET/organisations/{organisationId}/auditSession du tableau de bord

Paramètres

  • organisationIdstringpathobligatoire
  • cursoranyquery

    nextCursor of the previous page

  • limitintegerquery
    • max: 200
    • default: 50
  • toanyquery

    ISO date-time, exclusive

  • fromanyquery

    ISO date-time, inclusive

  • actionanyquery

Réponses

  • 200

    • itemsAuditEventDto[]obligatoire
      • idstring (uuid)obligatoire
      • actorUserIdstring (uuid) | null
      • organisationIdstring (uuid) | null
      • affiliationIdstring (uuid) | null
      • actionstringobligatoire
      • ipstring | null
      • detailsobjectobligatoire
      • createdAtstring (date-time)obligatoire
    • nextCursorstring | nullobligatoire
  • 401Not authenticated; 403 for members other than the owner

Exemples de code

curl -X GET "$KONNECT_API_URL/organisations/org_01J9Z3K4EXAMPLE0000000000/audit" \
  -H "Cookie: konnect_session=$KONNECT_SESSION"

Exemple : 200

{
  "items": [
    {
      "id": "id",
      "actorUserId": "actorUserId",
      "organisationId": "org_01J9Z3K4EXAMPLE0000000000",
      "affiliationId": "affiliationId",
      "action": "affiliation.created",
      "ip": "ip",
      "details": {},
      "createdAt": "2026-10-01T09:30:00.000Z"
    }
  ],
  "nextCursor": "nextCursor"
}