Frameworks are collections of controls that are used to assess compliance with specific standards or regulations. The help docs have more information.
Find Frameworks matching the provided filters.
🔒 Requires Frameworks: List Frameworks permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 123,
- "name": "SOC 2",
- "description": "Report on controls at a Service Organization",
- "slug": "soc-2",
- "tag": "SOC_2",
- "pill": "SOC 2",
- "numInScopeControls": 42,
- "numInScopeRequirements": 42,
- "numReadyInScopeRequirements": 35,
- "isReady": true,
- "isEnabled": true,
- "color": "#174880",
- "bgColor": "#E8F4FF",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Create a new custom compliance Framework.
🔒 Requires workspaces-post-framework permission.
💎 Requires your account have the Custom Frameworks feature. Contact your CSM for help upgrading.
Created
Malformed data and/or validation errors
Invalid Authorization
The required account entitlement is not enabled.
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "My Custom Framework 2024",
- "shortName": "MCF-24",
- "description": "A custom compliance framework for internal security controls."
}{- "id": 123,
- "name": "SOC 2",
- "description": "Report on controls at a Service Organization",
- "slug": "soc-2",
- "tag": "SOC_2",
- "pill": "SOC 2",
- "numInScopeControls": 42,
- "numInScopeRequirements": 42,
- "numReadyInScopeRequirements": 35,
- "isReady": true,
- "isEnabled": true,
- "color": "#174880",
- "bgColor": "#E8F4FF",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}Use GET /workspaces/{workspaceId}/frameworks/{frameworkId}/requirements instead.
Find Framework Requirements matching the provided filters. Use expand[]=controls to include a limited subcollection of controls for each requirement. Use expand[]=customFields to include custom field values for each requirement.
🔒 Requires Frameworks: List Framework Requirements permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "createdAt": "2025-07-01T16:45:55.246Z",
- "description": "The entity demonstrates a commitment to integrity and ethical values.",
- "frameworkName": "SOC 2",
- "frameworkPill": "SOC 2",
- "frameworkSlug": "SOC 2",
- "frameworkTag": "SOC_2",
- "id": 58,
- "name": "PI1.2",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "additionalInfo": "The entity demonstrates a commitment to integrity.",
- "additionalInfo2": "The entity demonstrates a commitment to ethical values.",
- "additionalInfo3": "The entity demonstrates a commitment to enforcing policies.",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "SOC 2",
- "longDescription": "The entity demonstrates a commitment to integrity and ethical values.",
- "rationale": "This requirement is not needed.",
- "category": "General Rules",
- "controls": {
- "data": [
- {
- "id": 1,
- "code": "DCF-1001",
- "isReady": true,
- "controlNumber": 1,
- "archivedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 47
}, - "customFields": [
- {
- "customFieldId": 1,
- "name": "Stakeholders",
- "value": "Security & IT"
}
]
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Use PUT /workspaces/{workspaceId}/frameworks/{frameworkId}/requirements/{requirementId} instead. The replacement endpoint supports both Custom Field and structural-field updates.
🔒 Requires Frameworks: Update Framework Requirement permission.
💎 Requires your account have the Custom Fields and Formulas feature. Contact your CSM for help upgrading.
Array of objects (CustomFieldSubmitRequestPublicV2Dto) Custom Fields for the Requirement. 💎 Requires your account have the Custom Fields and Formulas feature. Contact your CSM for help upgrading. |
Successful
Malformed data and/or validation errors
Invalid Authorization
The required account entitlement is not enabled.
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "customFields": [
- {
- "id": 1,
- "name": "Compliance Status",
- "value": "Security & IT"
}
]
}{- "createdAt": "2025-07-01T16:45:55.246Z",
- "description": "The entity demonstrates a commitment to integrity and ethical values.",
- "frameworkName": "SOC 2",
- "frameworkPill": "SOC 2",
- "frameworkSlug": "SOC 2",
- "frameworkTag": "SOC_2",
- "id": 58,
- "name": "PI1.2",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "additionalInfo": "The entity demonstrates a commitment to integrity.",
- "additionalInfo2": "The entity demonstrates a commitment to ethical values.",
- "additionalInfo3": "The entity demonstrates a commitment to enforcing policies.",
- "archivedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "SOC 2",
- "longDescription": "The entity demonstrates a commitment to integrity and ethical values.",
- "rationale": "This requirement is not needed.",
- "category": "General Rules",
- "controls": {
- "data": [
- {
- "id": 1,
- "code": "DCF-1001",
- "isReady": true,
- "controlNumber": 1,
- "archivedAt": "2025-07-01T16:45:55.246Z"
}
], - "totalCount": 47
}, - "customFields": [
- {
- "customFieldId": 1,
- "name": "Stakeholders",
- "value": "Security & IT"
}
]
}List Requirements scoped to the specified Framework.
🔒 Requires Frameworks: List Framework Requirements permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 58,
- "code": "A.5.1.1",
- "name": "Policies for information security",
- "description": "A set of policies for information security shall be defined, approved, published...",
- "category": "General Rules",
- "additionalInfo": "Refer to ISO 27001:2022 Annex A.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "framework": {
- "id": 13,
- "name": "NIST AI RMF",
- "description": "The NIST AI Risk Management Framework (AI RMF) is a set of suggestions and guidelines for incorporating trustworthiness considerations in the design, development, deployment, and use of AI systems.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "enabledAt": "2025-07-01T16:45:55.246Z",
- "shortName": "SOC 2",
- "tag": "SOC_2",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": [
- {
- "id": 1,
- "code": "DCF-1001",
- "isReady": true,
- "controlNumber": 1,
- "archivedAt": "2025-07-01T16:45:55.246Z"
}
], - "customFields": [
- {
- "customFieldId": 1,
- "name": "Stakeholders",
- "value": "Security & IT"
}
]
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Create or update one or more Requirements on a custom Framework. Duplicate codes within a batch and unknown Control IDs cause the entire request to fail.
🔒 Requires workspaces-post-framework-requirements permission.
💎 Requires your account have the Custom Frameworks feature. Contact your CSM for help upgrading.
required | Array of objects (CreateFrameworkRequirementRequestPublicV2Dto) non-empty One or more Requirements to create on the Framework. Duplicate codes within a batch and unknown Control IDs cause the entire request to fail. |
Created
Malformed data and/or validation errors
Invalid Authorization
The required account entitlement is not enabled.
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Unprocessable Entity
Internal server error
{- "data": [
- {
- "code": "A.5.1.1",
- "name": "Policies for information security",
- "description": "A set of policies for information security shall be defined, approved, published...",
- "category": "General Rules",
- "additionalInfo": "Refer to ISO 27001:2022 Annex A.",
- "controlIds": [
- 42,
- 57
]
}
]
}{- "data": [
- {
- "id": 58,
- "code": "A.5.1.1",
- "name": "Policies for information security",
- "description": "A set of policies for information security shall be defined, approved, published...",
- "category": "General Rules",
- "additionalInfo": "Refer to ISO 27001:2022 Annex A.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "framework": {
- "id": 13,
- "name": "NIST AI RMF",
- "description": "The NIST AI Risk Management Framework (AI RMF) is a set of suggestions and guidelines for incorporating trustworthiness considerations in the design, development, deployment, and use of AI systems.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "enabledAt": "2025-07-01T16:45:55.246Z",
- "shortName": "SOC 2",
- "tag": "SOC_2",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": [
- {
- "id": 1,
- "code": "DCF-1001",
- "isReady": true,
- "controlNumber": 1,
- "archivedAt": "2025-07-01T16:45:55.246Z"
}
], - "customFields": [
- {
- "customFieldId": 1,
- "name": "Stakeholders",
- "value": "Security & IT"
}
]
}
]
}Update a custom Framework Requirement, including core fields, control mappings, and Custom Field values.
🔒 Requires Frameworks: Update Framework Requirement permission.
Successful
No Content
Malformed data and/or validation errors
Invalid Authorization
The required account entitlement is not enabled.
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Unprocessable Entity
Internal server error
{- "code": "A.5.1.1",
- "name": "Policies for information security",
- "description": "A set of policies for information security shall be defined, approved, published...",
- "category": "General Rules",
- "additionalInfo": "Refer to ISO 27001:2022 Annex A.",
- "controlIds": [
- 42,
- 57
], - "customFields": [
- {
- "id": 1,
- "name": "Compliance Status",
- "value": "Security & IT"
}
]
}{- "id": 58,
- "code": "A.5.1.1",
- "name": "Policies for information security",
- "description": "A set of policies for information security shall be defined, approved, published...",
- "category": "General Rules",
- "additionalInfo": "Refer to ISO 27001:2022 Annex A.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "framework": {
- "id": 13,
- "name": "NIST AI RMF",
- "description": "The NIST AI Risk Management Framework (AI RMF) is a set of suggestions and guidelines for incorporating trustworthiness considerations in the design, development, deployment, and use of AI systems.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "enabledAt": "2025-07-01T16:45:55.246Z",
- "shortName": "SOC 2",
- "tag": "SOC_2",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": [
- {
- "id": 1,
- "code": "DCF-1001",
- "isReady": true,
- "controlNumber": 1,
- "archivedAt": "2025-07-01T16:45:55.246Z"
}
], - "customFields": [
- {
- "customFieldId": 1,
- "name": "Stakeholders",
- "value": "Security & IT"
}
]
}Update an existing custom compliance Framework.
🔒 Requires workspaces-put-framework permission.
💎 Requires your account have the Custom Frameworks feature. Contact your CSM for help upgrading.
Successful
Malformed data and/or validation errors
Invalid Authorization
The required account entitlement is not enabled.
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Unprocessable Entity
Internal server error
{- "name": "My Updated Framework 2024",
- "shortName": "MUF-24",
- "description": "Updated description for the framework."
}{- "id": 123,
- "name": "SOC 2",
- "description": "Report on controls at a Service Organization",
- "slug": "soc-2",
- "tag": "SOC_2",
- "pill": "SOC 2",
- "numInScopeControls": 42,
- "numInScopeRequirements": 42,
- "numReadyInScopeRequirements": 35,
- "isReady": true,
- "isEnabled": true,
- "color": "#174880",
- "bgColor": "#E8F4FF",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}