Coda Project Legal Holds API

Legal holds are used to ensure a given set of docs cannot be deleted and enables simplified export management of doc content.

GitHub OpenAPI

Operations 12

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/{organizationId}/legalHolds List legal holds in an organization · List legal holds #
Ask an LLM
“Which users and documents are under legal hold in my organization?”
“Can I search the organization's legal holds by name?”
Tell an agent
List legal holds in organization {organizationId}.
Find legal holds in {organizationId} matching {query}.
POST /organizations/{organizationId}/legalHolds Create a legal hold · Create a new legal hold #
Ask an LLM
“How do I preserve all documents for a set of users during an investigation?”
“Can a legal hold cover a date range and be named?”
Tell an agent
Create legal hold {name} in {organizationId} covering {userEmails} from {rangeStart}.
Add a legal hold {name} to {organizationId} for {userEmails} between {rangeStart} and {rangeEnd}.
GET /organizations/{organizationId}/legalHolds/{legalHoldId} Get a legal hold · Get legal hold #
Ask an LLM
“What date range and users does a specific legal hold cover?”
“Can I look up one legal hold by ID?”
Tell an agent
Get legal hold {legalHoldId} in organization {organizationId}.
Show the range and users of legal hold {legalHoldId} in {organizationId}.
PUT /organizations/{organizationId}/legalHolds/{legalHoldId} Update a legal hold · Update legal hold #
Ask an LLM
“Can I extend the end date of an existing legal hold?”
“How do I rename a legal hold?”
Tell an agent
Set the end date of legal hold {legalHoldId} in {organizationId} to {rangeEnd}.
Rename legal hold {legalHoldId} in {organizationId} to {name}.
DELETE /organizations/{organizationId}/legalHolds/{legalHoldId} Delete a legal hold · Delete the legal hold #
Ask an LLM
“How do I remove a legal hold I no longer need?”
“Can I delete a legal hold by its ID?”
Tell an agent destructive · confirm first
Delete legal hold {legalHoldId} from organization {organizationId}.
Remove the legal hold {legalHoldId} in {organizationId}.
GET /organizations/{organizationId}/legalHolds/{legalHoldId}/docs List documents covered by a legal hold · List docs covered by the legal hold #
Ask an LLM
“Which documents are included in a given legal hold?”
“Can I search the documents covered by a hold?”
Tell an agent
List documents covered by legal hold {legalHoldId} in {organizationId}.
Find documents in hold {legalHoldId} of {organizationId} matching {query}.
GET /organizations/{organizationId}/legalHolds/{legalHoldId}/exports List exports of a legal hold · List exports for the legal hold #
Ask an LLM
“What exports have been created for a legal hold?”
“Can I search the exports of a hold?”
Tell an agent
List exports for legal hold {legalHoldId} in {organizationId}.
Find exports of hold {legalHoldId} in {organizationId} matching {query}.
POST /organizations/{organizationId}/legalHolds/{legalHoldId}/exports Create an export of a legal hold · Create a new legal hold export #
Ask an LLM
“How do I export the documents covered by a legal hold?”
“Can I export only certain documents from a hold?”
Tell an agent
Create export {name} of legal hold {legalHoldId} in {organizationId}.
Export documents in hold {legalHoldId} of {organizationId} as {name}, including only {docIds}.
GET /organizations/{organizationId}/legalHolds/{legalHoldId}/exports/{legalHoldExportId} Get a legal hold export · Get legal hold export #
Ask an LLM
“What status does a specific legal hold export have?”
“Can I look up one hold export by ID?”
Tell an agent
Get export {legalHoldExportId} of legal hold {legalHoldId} in {organizationId}.
Show the status of hold export {legalHoldExportId} on {legalHoldId} in {organizationId}.
DELETE /organizations/{organizationId}/legalHolds/{legalHoldId}/exports/{legalHoldExportId} Delete a legal hold export · Delete the legal hold export #
Ask an LLM
“How do I delete an export of a legal hold?”
“Can I remove a hold export by its ID?”
Tell an agent destructive · confirm first
Delete export {legalHoldExportId} of legal hold {legalHoldId} in {organizationId}.
Remove hold export {legalHoldExportId} from {legalHoldId} in {organizationId}.
GET /organizations/{organizationId}/legalHolds/{legalHoldId}/users List users in a legal hold · List users included in the legal hold #
Ask an LLM
“Who is included in a given legal hold?”
“Can I page through the users of a hold?”
Tell an agent
List users in legal hold {legalHoldId} in {organizationId}.
Show the first {limit} users of hold {legalHoldId} in {organizationId}.
POST /organizations/{organizationId}/legalHolds/{legalHoldId}/users Add or remove users from a legal hold · Update legal hold users #
Ask an LLM
“How do I add new users to an existing legal hold?”
“Can I remove users from a hold without deleting it?”
Tell an agent
Add {userEmailsToAdd} to legal hold {legalHoldId} in {organizationId}.
Remove {userEmailsToRemove} from hold {legalHoldId} in {organizationId}.

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/coda-project:coda-project-legal-holds-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

coda-project-legal-holds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.0.2
  title: Superhuman Docs Admin Legal Holds API
  license:
    name: Superhuman Developer Terms
    url: https://docs.superhuman.com/trust/developer
  description: '# Introduction


    The Superhuman Docs Admin API is a RESTful API that allows programmatic access to administrative reports & capabilities within Superhuman Docs (formerly Coda).'
  termsOfService: https://superhuman.com/legal/terms
  contact:
    name: Developer Support
    url: https://superhuman.com/developers
    email: care@superhuman.com
  x-logo:
    url: https://cdn.coda.io/icons/png/color/superhuman-docs-128.png
    backgroundColor: transparent
    altText: Superhuman Docs Admin API
    href: '#'
servers:
- url: https://docs.superhuman.com/apis/admin/v1
  description: Superhuman Docs Admin API (v1)
security:
- Bearer: []
tags:


# --- truncated at 32 KB (55 KB total) ---
# Full source: https://artifacts.apis.io/coda-project/openapi/coda-project-legal-holds-api-openapi.yml