Drata Evidence Library API

Drata's Evidence Library serves as a repository for all the evidence you need to collect across your controls. The [help docs](https://help.drata.com/en/articles/8288579-evidence-library-overview) have more information. Note: these are the legacy single-artifact endpoints; new integrations should use the Evidence endpoints.

Business capability
Regulatory Compliance Management BC-130.10

Operations 6

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 /workspaces/{workspaceId}/evidence-library List evidence library items (legacy) · List Evidence Library Items #
Ask an LLM
“What items are in our evidence library under the older endpoint?”
“Can I search the legacy evidence library by name or status?”
Tell an agent
List evidence library items in workspace {workspace} using the legacy endpoint.
Search the legacy evidence library in workspace {workspace} for {name}.
POST /workspaces/{workspaceId}/evidence-library Create an evidence library item (legacy) · Create Evidence Library Item #
Ask an LLM
“Can I still add a single-file evidence library item the old way?”
“Is it possible to create a legacy evidence library item from a URL or ticket link?”
Tell an agent
Create legacy evidence library item {name} in workspace {workspace}.
Add evidence library item {name} pointing at URL {url} via the older endpoint.
GET /workspaces/{workspaceId}/evidence-library/{evidenceLibraryId} Get an evidence library item (legacy) · Get Evidence Library Item #
Ask an LLM
“Can I fetch one evidence library item by its legacy ID?”
“What does an older evidence library record contain?”
Tell an agent
Get legacy evidence library item {item} in workspace {workspace}.
Show evidence library record {item} from the older API.
PUT /workspaces/{workspaceId}/evidence-library/{evidenceLibraryId} Update an evidence library item (legacy) · Update Evidence Library Item #
Ask an LLM
“Can I change the renewal date on a legacy evidence library item?”
“Is it possible to swap the file on an older evidence library record?”
Tell an agent
Update legacy evidence library item {item} in workspace {workspace} to renew on {renewal_date}.
Set the ticket URL of evidence library item {item} to {ticket_url}.
DELETE /workspaces/{workspaceId}/evidence-library/{evidenceLibraryId} Delete an evidence library item · Delete Evidence Library Item #
Ask an LLM
“Can I remove an item from the evidence library by its library ID?”
“Is deleting an evidence library item permanent?”
Tell an agent destructive · confirm first
Delete evidence library item {item} from workspace {workspace}.
Remove library record {item} from the evidence library.
GET /workspaces/{workspaceId}/evidence-library/{evidenceLibraryId}/versions/{versionId} Get a version of an evidence library item · Get Evidence Library Version #
Ask an LLM
“Can I see an earlier version of an evidence library item?”
“What did a specific version of a library record contain?”
Tell an agent
Get version {version} of evidence library item {item} in workspace {workspace}.
Show version {version} details for library item {item}.

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-evidence-library-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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-evidence-library-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Drata Evidence Library API
  description: '### What''s New in V2

    - Support for Custom Fields

    - Get and acknowledge user''s assigned policies

    - Payloads are streamlined to include only the essential information. You can expand related objects and collections using the `expand` query parameter.

    - Cursor-based pagination for greater efficiency and stability with large datasets


    ### Getting Started

    Please visit our help article to learn how to create an API key.


    ### Upgrading From Version 1

    API V2 is designed to provide a faster an more flexible way of accessing Drata. There are several differences from V1:

    - The listing endpoints now use **cursor-based pagination**. This provides faster responses and ensures that all records can be retrieved even, if they are changed during the process.


    ```javascript

    async function fetchAll() {

    // The first request doesn''t send a value for the cursor.

    let cursor = undefined;

    do {

    const query = new URLSearchParams({ cursor });

    const resp = await fetch(

    `https://public-api.drata.com/public/v2/users?${query}`,

    {

    method: ''GET'',

    headers: { Authorization: ''Bearer '' }

    }

    );

    const data = await resp.json();

    console.log(data);


    // If there''s a cursor value returned, then there are more results.

    // Pass that back as a query parameter to get the next page of data.

    cursor = data?.pagination?.cursor;

    } while (cursor)

    }

    fetchAll();

    ```

    - You''ll notice smaller responses. Most endpoints accept an `expand` query parameter that let''s you specify which related objects and collections you want to expand.'
  version: V2
  contact: {}
servers:
- url: https://public-api.drata.com/public/v2
- url: https://public-api.eu.drata.com/public/v2
- url: https://public-api.apac.drata.com/public/v2
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/drata/openapi/drata-evidence-library-api-openapi.yml