Project API
Get audit logs for a project
Changed onRetrieves audit logs for all API modifications made to the project. Only includes POST, PUT, and DELETE operations.
get/rest/api/v1/projects/{projectId}/auditLogs
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring uuid required
Query parameters
limitinteger
Maximum number of logs to return
offsetinteger
Number of logs to skip for pagination
startDatestring
Start date filter (ISO-8601 format)
endDatestring
End date filter (ISO-8601 format)
Response
OK
Example response
[
{
"accountAlias": "Main Trading Account",
"accountId": "123e4567-e89b-12d3-a456-426614174001",
"apiKeyAlias": "Production API Key",
"apiKeyId": 12345,
"durationMs": 125,
"endpoint": "/rest/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/accounts",
"errorMessage": "Resource not found",
"id": "507f1f77bcf86cd799439011",
"ipAddress": "192.168.1.100",
"method": "POST",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"projectName": "My Trading Project",
"queryString": "limit=10&offset=0",
"requestBody": "{\"name\":\"My Account\"}",
"requestBodySize": 256,
"requestHeaders": "{\"Content-Type\":\"application/json\"}",
"responseBody": "{\"error\":\"Not Found\"}",
"responseBodySize": 512,
"serverHost": "metacopier-node-1",
"statusCode": 200,
"success": true,
"timestamp": "2025-11-09T10:30:00Z",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
]Changes
- info
endpoint added
- info