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

# REST API Reference

> Overview of core REST API endpoints, schemas, filtering parameters, and pagination.

The Snapsec REST API follows standard RESTful resource conventions.

***

## Pagination

All list endpoints support cursor-based pagination:

```bash theme={null}
GET /v2/findings?limit=50&cursor=eyJpZCI6MTA0OX0
```

### Pagination Response Schema

```json theme={null}
{
  "data": [...],
  "pagination": {
    "has_more": true,
    "next_cursor": "eyJpZCI6MTA5OX0",
    "total_count": 1420
  }
}
```

***

## Global Filtering & Sorting

* `sort`: Sort field and direction (`sort=-created_at`, `sort=severity`).
* `filter[severity]`: Comma-separated list (`filter[severity]=critical,high`).
* `filter[status]`: State filter (`filter[status]=active`).


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