> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cloudraker.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cloudraker.com/_mcp/server.

# List recent request and run traces

GET https://api.cloudraker.com/me/developer-observability

Admin-only, organization-scoped operational metadata. Requires a real human admin session — org API keys are rejected here even though they are admin-equivalent elsewhere, since a machine credential has no legitimate use for internal telemetry. Developer Mode controls UI exposure; it is not the authorization gate.

Reference: https://docs.cloudraker.com/api/cloud-raker-api/workspace/developer-observability/list-developer-observations

## Authentication

- `Authorization` header (bearer token, required)

## Request

### Query parameters

- `search` (string, optional)
- `status` (enum, optional)
  - Allowed values: `running`, `ok`, `error`, `cancelled`, `expired`
- `kind` (enum, optional)
  - Allowed values: `request`, `network`, `queue`, `inference`, `action`, `storage`
- `source` (string, optional)
- `spaceId` (string, optional)
- `from` (datetime, optional)
- `to` (datetime, optional)
- `before` (datetime, optional)
- `limit` (integer, optional, default: 50)

## Response

### 200

Recent unexpired trace roots.

- `data` (list of object, required)
  - `eventId` (string, required)
  - `traceId` (string, required)
  - `spanId` (string, required)
  - `org` (string, required)
  - `kind` (enum, required)
    - Allowed values: `request`, `network`, `queue`, `inference`, `action`, `storage`
  - `name` (string, required)
  - `status` (enum, required)
    - Allowed values: `running`, `ok`, `error`, `cancelled`, `expired`
  - `startedAt` (datetime, required)
  - `parentSpanId` (string, optional)
  - `requestId` (string, optional)
  - `runId` (string, optional)
  - `spaceId` (string, optional)
  - `tenant` (string, optional)
  - `capability` (enum, optional)
    - Allowed values: `extract`, `parse`, `redact`, `fill`, `sign`, `pipeline`, `files`, `actions`, `agent`, `runs`, `templates`, `webhooks`
  - `durationMs` (double, optional)
  - `expiresAt` (datetime, optional)
  - `method` (enum, optional)
    - Allowed values: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD`, `OPTIONS`
  - `route` (string, optional)
  - `statusCode` (integer, optional)
  - `model` (string, optional)
  - `inputTokens` (integer, optional)
  - `outputTokens` (integer, optional)
  - `bytes` (integer, optional)
  - `errorCode` (string, optional)
- `nextCursor` (datetime, required, nullable)

## Examples

**Response**

```json
{
  "data": [
    {
      "eventId": "string",
      "traceId": "string",
      "spanId": "string",
      "org": "string",
      "kind": "request",
      "name": "string",
      "status": "running",
      "startedAt": "2024-01-15T09:30:00Z",
      "parentSpanId": "string",
      "requestId": "string",
      "runId": "string",
      "spaceId": "string",
      "tenant": "string",
      "capability": "extract",
      "durationMs": 1.1,
      "expiresAt": "2024-01-15T09:30:00Z",
      "method": "GET",
      "route": "string",
      "statusCode": 1,
      "model": "string",
      "inputTokens": 1,
      "outputTokens": 1,
      "bytes": 1,
      "errorCode": "string"
    }
  ],
  "nextCursor": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```typescript
import { CloudRakerClient } from "@cloudraker/api";

async function main() {
    const client = new CloudRakerClient({
        token: "YOUR_TOKEN_HERE",
    });
    await client.developerObservability.listDeveloperObservations({});
}
main();

```

```python
from cloudraker import CloudRaker

client = CloudRaker(
    token="YOUR_TOKEN_HERE",
)

client.developer_observability.list_developer_observations()

```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cloudraker.com/me/developer-observability"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.cloudraker.com/me/developer-observability")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.cloudraker.com/me/developer-observability")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.cloudraker.com/me/developer-observability', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/me/developer-observability");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/me/developer-observability")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```