guideDifficulty: intermediateTime: 25mVersion: v1Services: contracts-apiSDK: @lawie/sdkReviewed: 2025-01-20Reviewer: Docs PlatformTags: contracts, tagging
Tag Contracts with Clause Tags
Apply clause tags to contracts and filter lists by tag.
Overview
Use the Contracts API to apply clause tags and filter results.
Prerequisites
- API key with
contracts.writescope - Contract IDs available in sandbox
Architecture Diagram
Contracts updates flow from ingestion to tagging and downstream filters.
Steps
- Fetch a contract with
GET /contracts/v1/{id}. - Apply tags via
PATCH /contracts/v1/{id}. - Filter using
GET /contracts/v1?tag=nda.
API Calls Referenced
GET /contracts/v1/{id}PATCH /contracts/v1/{id}GET /contracts/v1
Troubleshooting
404→ Contract ID not found.422→ Invalid tag format.