Drata Organization API

The Organization API from Drata — 4 operation(s) for organization.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /organizations Get the current organization · Get current Organization #
Ask an LLM
“What organization is my SafeBase API key tied to?”
“Can I see the details of our organization?”
Tell an agent
Get our current organization.
Show me the organization record for this account.
GET /organizations/nda Get the organization's NDA settings · Get Organization NDA settings #
Ask an LLM
“What NDA settings does our Trust Center use?”
“Is an NDA required before people can see our documents?”
Tell an agent
Get our organization's NDA settings.
Show how NDAs are configured for the organization.
GET /organizations/settings Get organization settings · Get Organization settings #
Ask an LLM
“What general settings are configured for our organization?”
“Can I read the organization-wide configuration?”
Tell an agent
Get the organization settings.
Show me our organization-wide configuration.
GET /organizations/members/me Get my own organization member record · Get current Organization Member #
Ask an LLM
“Which member account am I authenticated as?”
“What does my own member record in the organization look like?”
Tell an agent
Get my organization member profile.
Show who I am signed in as in this organization.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/drata:drata-organization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

drata-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: SafeBase API documentation.
  version: 1.4.1
  title: SafeBase API documentation Organization API
  contact:
    email: support@safebase.io
servers:
- url: https://app.safebase.io/api/ext/v1/rest
security:
- apiKey: []
tags:
- name: Organization
paths:
  /organizations:
    get:
      tags:
      - Organization
      summary: Get current Organization
      description: Gets current Organization
      operationId: getOrganization
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
                  result:
                    type: object
                    properties:
                      id:
                        description: Internal identifier for the Organization
                        type: string
                        example: a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6
                      name:
                        description: Organization name
                        type: string
                        example: Acme Corp.
                      primaryDomain:
                        description: Primary (email) domain of the organization
                        type: string
                        example: acme.com
                      spCustomDomain:
                        description: Custom TC domain of the organization
                        type:
                        - string
                        - 'null'
                        example: trust.acme.com
        '400':
          $ref: '#/components/responses/400'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
      security:
      - apiKey:
        - organization:view
  /organizations/nda:
    get:
      tags:
      - Organization
      summary: Get Organization NDA settings
      description: Gets Organization NDA settings
      operationId: getOrganizationNDASettings
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
                  result:
                    type: array
                    items:
                      type: object
                      $ref: '#/paths/~1organizations~1settings/get/responses/200/content/application~1json/schema/properties/result/items/properties/nda'
        '400':
          $ref: '#/components/responses/400'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
      security:
      - apiKey:
        - organization:view
  /organizations/settings:
    get:
      tags:
      - Organization
      summary: Get Organization settings
      description: Gets Organization settings
      operationId: getOrganizationSettings
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        nda:
                          type: object
                          properties:
                            memberRequiredForDefaultNda:
                              description: Indicates whether the default provider requires a member to be created simultaneously
                              type: boolean
                            defaultNdaProvider:
                              description: The NDA option the organization uses by default
                              $ref: '#/components/schemas/NdaProvider'
                            enabledNdaProviders:
                              description: List of all enabled NDA Providers for an org
                              items:
                                type: object
                                properties:
                                  memberRequiredForNda:
                                    description: Indicates whether the default provider requires a member to be created simultaneously
                                    type: boolean
                                  provider:
                                    description: The NDA provider
                                    $ref: '#/components/schemas/NdaProvider'
                                  label:
                                    description: The user facing label for a given provider
                                    type: string
                        permissionProfiles:
                          type: object
                          properties:
                            defaultProfileId:
                              type: string
                              format: uuid
                              deprecated: true
                            defaultProfileIds:
                              type: array
                              items:
                                type: string
                                format: uuid
                            profiles:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  name:
                                    type: string
                                  description:
                                    type: string
                        accessExpiration:
                          type: object
                          properties:
                            defaultExpiration:
                              type: number
                              description: This is the length of expiration in minutes
        '400':
          $ref: '#/components/responses/400'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
      security:
      - apiKey:
        - organization:view
  /organizations/members/me:
    get:
      tags:
      - Organization
      summary: Get current Organization Member
      description: Gets current Organization Member
      operationId: getOrganizationMemberMe
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    example: true
                  result:
                    type: object
                    required:
                    - userId
                    - picture
                    properties:
                      userId:
                        description: Internal identifier for the Organization Member
                        type: string
                        example: samlp|saml-connection-name|user-identifier
                      familyName:
                        description: The Organization Member's family name (surname)
                        type: string
                        example: Doe
                      givenName:
                        description: The Organization Member's given name (first name)
                        type: string
                        example: John
                      picture:
                        description: The Organization Member profile picture
                        type: string
                        example: https://some.url.com/picture.jpg
        '400':
          $ref: '#/components/responses/400'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
      security:
      - apiKey:
        - organization:view
components:
  responses:
    '403':
      description: Invalid api key / missing scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiResponseInvalidApiKeyOrMissingScope'
    '400':
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiResponseInvalidRequest'
    '405':
      description: Method not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiResponseNotFound'
    '404':
      description: Not found or no access
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiResponseNotFound'
  schemas:
    ApiResponseNotFound:
      type: object
      properties:
        statusCode:
          type: integer
          example: 404
        error:
          type: string
          example: not_found
        message:
          type: string
          example: Not found
    NdaProvider:
      type: string
      description: One of the available NDA options. If the ndaProvider field is not set, NDA provider will be set to the organization's default NDA provider.
      enum:
      - none
      - clickwrap
      - docusign
      - override
    ApiResponseInvalidRequest:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        error:
          type: string
          example: bad_request
        message:
          type: string
          example: Invalid request.
    ApiResponseInvalidApiKeyOrMissingScope:
      type: object
      properties:
        statusCode:
          type: integer
          example: 403
        error:
          type: string
          example: forbidden
        message:
          type: string
          example: 'Invalid API key / Missing required scope(s): (missing scopes here)'
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-sb-api-key
      in: header