> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query evidence by claim or entity

> **Required scope:** read

**Required scope:** `read`

### Query parameters

**claim** `string`

Claim key to query evidence for

**entity\_id** `string`

Entity ID to query evidence for

**q** `string`

Free-text search over evidence fields

**min\_confidence** `number (float)`

Minimum confidence threshold

**min\_similarity** `number (float)`

Minimum cosine similarity for semantic search (0.0..1.0)

**embedding\_query** `string`

Natural language query for embedding-based evidence search

**query\_embedding** `string`

Explicit query embedding as comma-separated floats

**limit** `integer`

Maximum nodes to return (1..1000)

### Response

`EvidenceResponse`

**nodes** `EvidenceNode[]` *required*

**EvidenceNode**

**claim** `string` *required*

The claim or fact this evidence supports

**confidence** `number (float)` *required*

Confidence in this evidence

**depends\_on** `string[]` *required*

IDs of evidence nodes this depends on

**embedding** `number (float)[]`

Optional vector embedding for semantic search.

**evidence\_type** `EvidenceType` *required*

**id** `string` *required*

Unique node ID

**source** `EvidenceSourceMeta` *required*

**EvidenceSourceMeta**

**actor** `string` *required*

Who/what created this evidence

**actor\_id** `string`

API key or session ID

**metadata** `object` *required*

Free-form metadata

**org\_id** `string`

Organization

**timestamp** `string (date-time)` *required*

Timestamp when evidence was recorded

**total** `integer` *required*

### Status codes

| Code | Meaning |
| - | - |
| `200` | Evidence nodes |
| `400` | Invalid query parameters |
| `401` | Unauthorized — missing or invalid credentials |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

```bash cURL theme={null}
curl --request GET \
  --url 'https://api.nsr.stateset.com/api/v1/evidence' \
  --header "X-API-Key: $STATESET_NSR_API_KEY"
```

```json 200 theme={null}
{
  "nodes": [
    {
      "claim": "string",
      "confidence": 7.5,
      "depends_on": [],
      "embedding": [],
      "evidence_type": "Assertion",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "source": {
        "actor": null,
        "actor_id": null,
        "metadata": null,
        "org_id": null
      },
      "timestamp": "2026-08-31T14:22:05Z"
    }
  ],
  "total": 102
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.