메인 콘텐츠로 건너뛰기
GET
/
logs
Get audit logs
curl --request GET \
  --url https://your_a2_service/logs \
  --header 'Authorization: Bearer <token>'
[
  {
    "event_type": "<string>",
    "id": 123,
    "user_email": "<string>",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "affected_resource": "<string>",
    "description": "<string>",
    "new_value": {},
    "old_value": {},
    "timestamp": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

인증

Authorization
string
header
필수

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

쿼리 매개변수

event_types
string[] | null
user_id
string<uuid> | null
user_email
string | null
start_date
string<date-time> | null
end_date
string<date-time> | null

응답

Successful Response

event_type
string
필수

이벤트 유형

id
integer
필수

로그 id

user_email
string
필수

로그와 연관된 사용자의 이메일

user_id
string<uuid>
필수

로그와 연관된 사용자의 id

affected_resource
string | null

로그와 연관된 영향을 받은 리소스

description
string | null

설명

new_value
New Value · object

변경 이후 리소스 상태의 JSON 표현

old_value
Old Value · object

변경 이전 리소스 상태의 JSON 표현

timestamp
string<date-time>

로그 타임스탬프