# Look up a call (/docs/api/calls/call_get)

Cost, timings (total, upstream, overhead, TTFB, queue), provider, outcome and every routed attempt of one call, like OpenRouter's generation lookup. Keys without logs:read only see calls they made. Available a few seconds after the call.

`GET /v1/calls/{id}`

```json
{
  "operationId": "call_get",
  "summary": "Look up a call",
  "description": "Cost, timings (total, upstream, overhead, TTFB, queue), provider, outcome and every routed attempt of one call, like OpenRouter's generation lookup. Keys without logs:read only see calls they made. Available a few seconds after the call.",
  "tags": [
    "calls"
  ],
  "security": [
    {
      "bearer": []
    }
  ],
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{3,128}$"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "call_lookup"
                ]
              },
              "id": {
                "type": "string"
              },
              "created_at": {
                "type": "string",
                "format": "date-time"
              },
              "capability": {
                "type": "string"
              },
              "endpoint_id": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "hit",
                  "miss",
                  "failed"
                ]
              },
              "http_status": {
                "type": "integer",
                "minimum": 0
              },
              "error_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cost_micro": {
                "type": "integer",
                "minimum": 0
              },
              "credential": {
                "type": "string",
                "enum": [
                  "managed",
                  "byok",
                  "none"
                ]
              },
              "client_mode": {
                "type": "string"
              },
              "app_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "app_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timings": {
                "type": "object",
                "properties": {
                  "total_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "upstream_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "overhead_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "ttfb_ms": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": 0
                  },
                  "queue_wait_ms": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "required": [
                  "total_ms",
                  "upstream_ms",
                  "overhead_ms",
                  "ttfb_ms",
                  "queue_wait_ms"
                ]
              },
              "run_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "attempts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "call_id": {
                      "type": "string"
                    },
                    "attempt": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "endpoint_id": {
                      "type": "string"
                    },
                    "provider": {
                      "type": "string"
                    },
                    "outcome": {
                      "type": "string",
                      "enum": [
                        "hit",
                        "miss",
                        "failed"
                      ]
                    },
                    "error_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cost_micro": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "total_ms": {
                      "type": "integer",
                      "minimum": 0
                    }
                  },
                  "required": [
                    "call_id",
                    "attempt",
                    "endpoint_id",
                    "provider",
                    "outcome",
                    "error_code",
                    "cost_micro",
                    "total_ms"
                  ]
                }
              },
              "run_cost_micro": {
                "type": "integer",
                "minimum": 0
              }
            },
            "required": [
              "object",
              "id",
              "created_at",
              "capability",
              "endpoint_id",
              "provider",
              "outcome",
              "http_status",
              "error_code",
              "cost_micro",
              "credential",
              "client_mode",
              "app_id",
              "app_name",
              "key_id",
              "timings",
              "run_id",
              "attempts",
              "run_cost_micro"
            ]
          }
        }
      }
    },
    "default": {
      "description": "Error",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "invalid_request",
                      "unauthorized",
                      "insufficient_balance",
                      "max_cost_exceeded",
                      "scope_denied",
                      "budget_blocked",
                      "not_found",
                      "idempotency_mismatch",
                      "invalid_meta",
                      "rate_limited",
                      "upstream_error",
                      "response_buffer_limit",
                      "provider_capacity_unavailable",
                      "grid_saturated",
                      "upstream_timeout",
                      "conflict",
                      "internal_error",
                      "account_frozen",
                      "strict_filters",
                      "plan_limit_reached",
                      "validation_failed",
                      "deadline_exceeded",
                      "cancelled"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "call_id": {
                    "type": "string"
                  },
                  "retry_after_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "details": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "code",
                  "message"
                ]
              }
            },
            "required": [
              "error"
            ]
          }
        }
      }
    }
  }
}
```
