# Drata Custom Data Records API

**Canonical:** https://apis.io/apis/drata/drata-custom-data-records-api/  
**Provider:** Drata — https://apis.io/providers/drata/  
**Base URL:** https://public-api.drata.com/public/v2  
**Documentation:** https://developers.drata.com/openapi/reference/v2/overview/

Drata Custom Data Records API is one of 52 APIs that [Drata](https://apis.io/providers/drata/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Custom Data Records. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

Custom Data Records are JSON evidence records pushed to a Custom Connection resource. Use the session management endpoints to batch upload records and track the status of bulk operations. You can create monitors on this data to provide continuous compliance. The [help docs](https://help.drata.com/en/articles/11995676-part-1-custom-connections-and-tests) have more information.

## Operations (7)

| Method | Path | Summary |
|---|---|---|
| GET | `/custom-connections/{connectionId}/resources/{resourceId}/records` | List Custom Data Records |
| POST | `/custom-connections/{connectionId}/resources/{resourceId}/records` | Upsert Custom Data Records |
| GET | `/custom-connections/{connectionId}/resources/{resourceId}/sessions` | List Custom Data Sessions |
| POST | `/custom-connections/{connectionId}/resources/{resourceId}/sessions/{sessionId}` | Upsert Custom Data Records with Session Management |
| POST | `/custom-connections/{connectionId}/resources/{resourceId}/sessions/{sessionId}/actions` | Perform Session Action |
| PUT | `/custom-connections/{connectionId}/resources/{resourceId}/records/{recordId}` | Update Custom Data Record |
| DELETE | `/custom-connections/{connectionId}/resources/{resourceId}/records/{recordId}` | Delete Custom Connection Data Record |

## Machine-readable artifacts (9)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/drata/refs/heads/main/openapi/drata-custom-data-records-api-openapi.yml
- **Documentation** — https://developers.drata.com/openapi/reference/v2/overview/
- **APIReference** — https://developers.drata.com/openapi/reference/v2/overview/
- **GettingStarted** — https://developers.drata.com/developer-portal/v2/recipes/create-an-api-key/
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/drata/refs/heads/main/authentication/drata-authentication.yml
- **Documentation** — https://developers.drata.com/openapi/reference/v2/tag/Custom-Connections/
- **GettingStarted** — https://developers.drata.com/developer-portal/v2/recipes/custom-connections/
- **Documentation** — https://docs.safebase.io/reference/getaccounts
- **APIReference** — https://docs.safebase.io/reference/getaccounts

## Other Drata APIs (12)

- [Drata MCP Server](https://apis.io/apis/drata/mcp/)
- [Drata Account Members API](https://apis.io/apis/drata/drata-account-members-api/)
- [Drata Accounts API](https://apis.io/apis/drata/drata-accounts-api/)
- [Drata Assets API](https://apis.io/apis/drata/drata-assets-api/)
- [Drata Audit Requests API](https://apis.io/apis/drata/drata-audit-requests-api/)
- [Drata Audits API](https://apis.io/apis/drata/drata-audits-api/)
- [Drata Background Checks API](https://apis.io/apis/drata/drata-background-checks-api/)
- [Drata Company API](https://apis.io/apis/drata/drata-company-api/)
- [Drata Control Library API](https://apis.io/apis/drata/drata-control-library-api/)
- [Drata Control Notes API](https://apis.io/apis/drata/drata-control-notes-api/)
- [Drata Control Owners API](https://apis.io/apis/drata/drata-control-owners-api/)
- [Drata Controls API](https://apis.io/apis/drata/drata-controls-api/)

## Tags

Custom Data Records

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/drata/drata-custom-data-records-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/drata/.
