Get Log Details
Retrieve detailed information about a specific log entry, including workflow metadata, execution data, and cost breakdown.
GET
/api/v1/logs/{id}Authorization
apiKey X-API-Key<token>
Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.
In: header
Path Parameters
id*string
The unique identifier of the log entry.
Response Body
application/json
application/json
application/json
application/json
curl -X GET \ "https://www.sim.ai/api/v1/logs/{id}" \ -H "X-API-Key: YOUR_API_KEY"{
"data": {
"id": "log_abc123",
"workflowId": "wf_abc123",
"executionId": "exec_abc123",
"level": "info",
"trigger": "api",
"totalDurationMs": 1250,
"startedAt": "2026-01-15T10:30:00Z",
"endedAt": "2026-01-15T10:30:01Z",
"createdAt": "2026-01-15T10:30:00Z"
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}