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

# Read workspace signal events

GET http://127.0.0.1:8787/api/v1/signals/events

Uses an opaque cursor and fixed page size of 50 because events can arrive while paging. Requires an authenticated workspace. API keys require read scope and pro entitlement.

Reference: https://mediacontext.dev/docs/developers/api-reference/signals/list-signal-events-v-1

## Authentication

- `X-Api-Key` header (required) — mck_ key; explicit key takes precedence over session. Read/export scopes, no writes.
- `Authorization` header (bearer token, required) — Clerk session with an active mapped organization and current membership

## Request

### Query parameters

- `review` (enum, optional, default: all)
  - Allowed values: `all`, `reviewed`, `unreviewed`
- `cursor` (string, optional)

## Response

### 200

Success

- `data` (list of PublicSignalsDataItems, required)
- `page` (PublicSignalsPage, required)
- `meta` (PublicSignalsMeta, required)

## Errors

### 400 Bad Request Error

Invalid request

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 401 Unauthorized Error

Missing or invalid authentication

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 403 Forbidden Error

Insufficient scope, membership or entitlement

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 404 Not Found Error

Resource not found in accessible scope

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 409 Conflict Error

Revision conflict; reload the resource before retrying

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 429 Too Many Requests Error

Rate or quota limit exceeded

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 500 Internal Server Error

Internal server error

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 503 Service Unavailable Error

Required source or service unavailable

- `error` (HttpErrorError, required)
- `issues` (any, optional)

## Types

### PublicSignalsDataItems

- `id` (string, required)
- `account` (string, required, nullable)
- `title` (string, required)
- `reason` (string, required, nullable)
- `ruleId` (string, required, nullable)
- `observedAt` (datetime, required) — ISO 8601 observation or collection timestamp; null means undated or unavailable
- `previousObservedAt` (datetime, required, nullable)
- `reviewedAt` (datetime, required, nullable)
- `evidenceVersion` (string, required, nullable)
- `changes` (list of PublicSignalsDataItemsChangesItems, required)

### PublicSignalsPage

- `limit` (double, required)
- `nextCursor` (string, required, nullable)
- `hasMore` (boolean, required)

### PublicSignalsMeta

- `datasetId` (string, required, nullable)
- `observedAt` (datetime, required, nullable)
- `freshness` ("unknown", required) — Freshness is not certified for this response; timestamps are evidence, not a freshness guarantee
- `warnings` (list of string, required)

### HttpErrorError

- string
- HttpErrorError1

### PublicSignalsDataItemsChangesItems

- `fieldId` (string, required)
- `label` (string, required)
- `before` (PublicSignalsDataItemsChangesItemsBefore, required, nullable)
- `after` (PublicSignalsDataItemsChangesItemsAfter, required, nullable)

### HttpErrorError1

- `code` (string, required)
- `message` (string, required)
- `details` (any, optional)
- `requestId` (string, optional)

### PublicSignalsDataItemsChangesItemsBefore

- string
- double
- boolean
- list of string

### PublicSignalsDataItemsChangesItemsAfter

- string
- double
- boolean
- list of string

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "account": "string",
      "title": "string",
      "reason": "string",
      "ruleId": "string",
      "observedAt": "2024-01-15T09:30:00Z",
      "previousObservedAt": "2024-01-15T09:30:00Z",
      "reviewedAt": "2024-01-15T09:30:00Z",
      "evidenceVersion": "string",
      "changes": [
        {
          "fieldId": "string",
          "label": "string",
          "before": "string",
          "after": "string"
        }
      ]
    }
  ],
  "page": {
    "limit": 1.1,
    "nextCursor": "string",
    "hasMore": true
  },
  "meta": {
    "datasetId": "string",
    "observedAt": "2024-01-15T09:30:00Z",
    "freshness": "string",
    "warnings": [
      "string"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "http://127.0.0.1:8787/api/v1/signals/events"

headers = {"X-Api-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'http://127.0.0.1:8787/api/v1/signals/events';
const options = {method: 'GET', headers: {'X-Api-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

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

func main() {

	url := "http://127.0.0.1:8787/api/v1/signals/events"

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

	req.Header.Add("X-Api-Key", "<apiKey>")

	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("http://127.0.0.1:8787/api/v1/signals/events")

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

request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<apiKey>'

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("http://127.0.0.1:8787/api/v1/signals/events")
  .header("X-Api-Key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://127.0.0.1:8787/api/v1/signals/events', [
  'headers' => [
    'X-Api-Key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("http://127.0.0.1:8787/api/v1/signals/events");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Api-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Api-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "http://127.0.0.1:8787/api/v1/signals/events")! 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()
```