How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Drata Custom Data Records API

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.

Drata Custom Data Records API is one of 52 APIs that Drata publishes on the 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.

This API exposes 7 operations across 5 paths, and defines 16 schemas. It is described by OpenAPI 3.2.0, at version V2.

Requests are made against 3 base URLs: https://public-api.drata.com/public/v2, https://public-api.eu.drata.com/public/v2, https://public-api.apac.drata.com/public/v2.

7 operations 5 paths 16 schemas 1 DELETE2 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
V2
Base URL
https://public-api.drata.com/public/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Drata Custom Data Records API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (API_KEY) (bearer).

Paths & Operations 7

Across 5 paths, the API surfaces 7 operations — 1 DELETE, 2 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Custom Data Records 7

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 ope…

GET
/custom-connections/{connectionId}/resources/{resourceId}/records
List Custom Data Records
CustomDataRecordsPublicV2Controller_listCustomDataRecords 8 params → 200400401402403404412500
POST
/custom-connections/{connectionId}/resources/{resourceId}/records
Upsert Custom Data Records
CustomDataRecordsPublicV2Controller_createCustomData 2 params body → 200201400401402403404412
GET
/custom-connections/{connectionId}/resources/{resourceId}/sessions
List Custom Data Sessions
CustomDataRecordsPublicV2Controller_listSessions 8 params → 200400401402403404412500
POST
/custom-connections/{connectionId}/resources/{resourceId}/sessions/{sessionId}
Upsert Custom Data Records with Session Management
CustomDataRecordsPublicV2Controller_uploadSessionRecords 3 params body → 200201400401402403404412
POST
/custom-connections/{connectionId}/resources/{resourceId}/sessions/{sessionId}/actions
Perform Session Action
CustomDataRecordsPublicV2Controller_performSessionAction 3 params body → 200201400401402403404412
PUT
/custom-connections/{connectionId}/resources/{resourceId}/records/{recordId}
Update Custom Data Record
CustomDataRecordsPublicV2Controller_updateCustomData 3 params body → 200400401402403404412413
DELETE
/custom-connections/{connectionId}/resources/{resourceId}/records/{recordId}
Delete Custom Connection Data Record
CustomDataRecordsPublicV2Controller_deleteCustomData 3 params → 204401402403404412500

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are SessionResponsePublicV2Dto (7 properties), CustomDataResponsePublicV2Dto (5 properties), SessionActionResponsePublicV2Dto (5 properties), ExceptionResponsePublicV2Dto (5 properties). Each schema is shown below with its type and property counts.

ExceptionResponsePublicV2Dto
object
5 properties 4 required
PaginationTotalCountResponsePublicV2Dto
object
2 properties 1 required
CustomDataRecordsResponsePublicV2Dto
object
2 properties 2 required
CustomDataSessionStatusEnum
string
SessionResponsePublicV2Dto
object
7 properties 7 required
CreateCustomDataSessionRequestPublicV2Dto
object
1 property 1 required
CustomDataResponsePublicV2Dto
object
5 properties 5 required
SessionActionEnum
string
UpdateCustomDataRequestPublicV2Dto
object
1 property 1 required
SessionsResponsePublicV2Dto
object
2 properties 2 required
CreateCustomDataRequestPublicV2Dto
object
1 property 1 required
ExceptionResponseDto
object
4 properties 3 required
SortTypeLimitedEnum
string
SessionActionRequestPublicV2Dto
object
1 property 1 required
SessionActionResponsePublicV2Dto
object
5 properties 5 required
SortDirectionEnum
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

drata-custom-data-records-api-openapi.yml Raw ↑

Other APIs Drata publishes across the network.

Drata MCP Server
Drata Account Members API
Drata Accounts API
Drata Assets API
Drata Audit Requests API
Drata Audits API
Drata Background Checks API
Drata Company API
Drata Control Library API
Drata Control Notes API
Drata Control Owners API
Drata Controls API
Where this information came from

This is an independent, third-party profile of Drata Custom Data Records API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.