監査ログの一覧表示
GET
https://api.openai.com/v1/organization/audit_logs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.openai.com/v1/organization/audit_logs' \
--header 'Authorization: Bearer $OPENAI_ADMIN_KEY' \
--header 'Content-Type: application/json'
Response Response Example
{
"object": "string",
"data": [
{
"id": "string",
"type": "string",
"effective_at": 0,
"actor": {
"type": "string",
"api_key": {
"type": "string",
"user": {
"id": "string",
"email": "string"
}
},
"session": {
"user": {
"id": "string",
"email": "string"
},
"ip_address": "string",
"user_agent": "string"
}
},
"project.archived": {
"id": "string"
},
"api_key.updated": {
"id": "string",
"data": {
"scopes": [
"string"
]
}
}
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
}
Request
Header Params
Authorization
string
optional
Example:
Bearer $OPENAI_ADMIN_KEY
Content-Type
string
optional
Example:
application/json
Responses
Modified at 2025-01-09 08:35:16