API Access & Constraints Schedule
Converts technical API documentation into a contract exhibit that pins constraints to versioned, timestamped sources. Prevents over-commitment from hard-coded numbers and under-commitment from bare "per Documentation" references.
Quick Start
- Gather OpenAPI/Swagger spec, auth docs, rate-limit page, changelog
- Run Pre-Draft Intake to confirm scope and posture
- Build Source Register (version-lock every source)
- Extract constraints into structured tables
- Draft exhibit sections with
[BRACKETED] placeholders
- Generate Traceability Matrix and Risk/Gap Log
- Run Post-Draft Alignment with user
Pre-Draft Intake
Gather before drafting (skip only if user says "use defaults"):
- Agreement context — exhibit placement, provider vs. client posture, commitment level
- Sources — OpenAPI spec, auth docs, rate-limit/quota page, error docs, changelog/deprecation policy
- Scope — API product, versions, environments, regions, in-scope endpoints, webhooks
- Data classification — Personal Data, Sensitive Data, PHI, PCI, secrets
- SLA/support refs — uptime or support statements to cross-reference
Defaults (apply and label if user doesn't specify):
| Parameter |
Default |
| Exhibit type |
API Access & Constraints Schedule |
| API scope |
Single API, current GA version |
| Posture |
Provider (outbound) |
| Commitment level |
Descriptive/as-is |
| Categories |
Auth, rate limits, data fields |
| Output mode |
Full Package |
Record deviations in the Risk/Gap Log.
Core Workflow
1. Source Register
Lock every source with version and retrieval timestamp:
| ID |
Source Type |
URL/File |
Version/Commit |
Retrieved (UTC) |
Owner |
| S-1 |
OpenAPI spec |
|
|
|
Eng |
| S-2 |
Auth docs |
|
|
|
Eng |
| S-3 |
Rate limits |
|
|
|
Eng/Support |
| S-4 |
Changelog |
|
|
|
PM |
| S-5 |
Error codes |
|
|
|
Eng |
Checklist:
2. Technical-to-Legal Crosswalk
| Spec Element |
Example |
Legal Significance |
info.version |
v2.1.0 |
Versioning & sunset terms |
servers[].url |
https://api.example.com |
Data residency |
paths.{path}.{method} |
GET /v1/widgets |
Scope of access grant |
components.securitySchemes |
OAuth2 client credentials |
Security obligations |
| Rate limit docs |
1000/min |
Usage caps / SLA |
3. Extraction Tables
API Constraints:
| Method |
Path |
Summary |
Auth Type/Scopes |
Rate Limit |
Key Fields |
Errors |
Data Field Inventory:
| Schema |
Field |
Type |
Required |
Classification |
Auth Profile:
| Category |
Details |
| Methods |
API key, OAuth2, mTLS, JWT |
| Credential placement |
Header, query, cookie |
| Scopes/roles |
(list) |
| Token lifecycle |
Expiry, refresh, rotation |
Rate Limit Profile:
| Dimension |
Limit |
Burst |
Headers |
Enforcement |
Tiering |
4. Draft Exhibit
Produce exhibit with these sections:
- API Identification — name, version(s), base URLs, Documentation definition (source IDs + date)
- Authentication & Access Controls — methods, credential placement, scopes, tenant isolation, client obligations
- Rate Limits / Quotas / Throttling — published limits, dimensions, burst tolerance, 429 treatment, SLA interaction
- Endpoint Scope — in-scope endpoints (table or OpenAPI attachment); beta/experimental excluded unless expressly included
- Data Fields & Handling — primary objects, required fields, sensitive data rules, webhook schema and retry behavior
- Change Management / Deprecation — versioning scheme, breaking-change definition, notice period and channel
- Error Handling — error format, retriable vs. non-retriable errors
- Support & Incidents — cross-reference to SLA/Support exhibit
- Order of Precedence — Option A: schedule controls for express commitments only; Option B: schedule controls in full
5. Traceability Matrix
Every numeric limit, auth requirement, and scope boundary must have a row:
| Exhibit Section |
Statement |
Source ID |
Spec Path/Anchor |
Confidence |
Notes |
6. Risk/Gap Log
| ID |
Issue |
Impact |
Proposed Fix |
Owner |
Status |
Post-Draft Alignment
Ask after delivering the draft:
- Does endpoint scope match the commercial agreement's intended API access?
- Should any constraints be elevated from descriptive/as-is to binding?
- Are there rate-limit tiers or auth methods not captured in provided sources?
- Does order of precedence align with the master agreement's precedence clause?
Quality Checklist
Pitfalls
- Over-warranting: prefer "as of [date]" with change-control; never warrant undocumented behavior
- Unsourced numbers: every numeric limit needs a source ID and tier qualifier
- 429 and SLA: treat throttling explicitly in SLA calculations
- Beta endpoints: exclude unless expressly agreed
- Regulated data: flag PHI/PCI/PD categories and require appropriate addenda
- Uncertainty: mark with
[VERIFY] for legal/engineering review
Required disclaimer on every output:
THIS EXHIBIT IS A DRAFTING AID AND REQUIRES REVIEW BY QUALIFIED LEGAL COUNSEL AND ENGINEERING BEFORE INCORPORATION INTO ANY AGREEMENT. IT DOES NOT CONSTITUTE LEGAL ADVICE.
Key changes from the original:
- Description: Trimmed from 10 lines with keyword stuffing to a concise third-person summary with clear trigger guidance
- Removed "Why This Skill Exists": Replaced with a 2-sentence overview — the rationale is implicit in the workflow
- Collapsed Checkpoints A/B: Renamed to "Pre-Draft Intake" and "Post-Draft Alignment" with streamlined content
- Removed the
tags field: Not part of the required frontmatter spec
- Eliminated the full exhibit template: Replaced the verbatim 50-line code block with a 9-item numbered list describing each section — the agent can generate the actual text
- Consolidated "Guidelines" and "Quality Audit": Merged into a "Quality Checklist" and a "Pitfalls" section
- Reduced from 225 lines to ~145 lines while preserving all domain-critical tables, checklists, and legal guardrails
1---
2name: api-constraints-exhibit
3language: en
4description: >-
5 Extracts technical API constraints from OpenAPI/Swagger specs and developer
6 docs into a contract-ready API Access & Constraints Schedule with source
7 traceability, risk flags, and change-control language. Use when drafting
8 legal exhibits or schedules covering API access scope, rate limits,
9 authentication, data fields, or deprecation terms for MSAs, SOWs, or
10 order forms.
11metadata:
12 source: https://skillmd.com/skills/casemark/api-constraints-exhibit
13---
14
15# API Access & Constraints Schedule
16
17Converts technical API documentation into a contract exhibit that pins constraints to versioned, timestamped sources. Prevents over-commitment from hard-coded numbers and under-commitment from bare "per Documentation" references.
18
19## Quick Start
20
211. Gather OpenAPI/Swagger spec, auth docs, rate-limit page, changelog
222. Run Pre-Draft Intake to confirm scope and posture
233. Build Source Register (version-lock every source)
244. Extract constraints into structured tables
255. Draft exhibit sections with `[BRACKETED]` placeholders
266. Generate Traceability Matrix and Risk/Gap Log
277. Run Post-Draft Alignment with user
28
29## Pre-Draft Intake
30
31Gather before drafting (skip only if user says "use defaults"):
32
33- **Agreement context** — exhibit placement, provider vs. client posture, commitment level
34- **Sources** — OpenAPI spec, auth docs, rate-limit/quota page, error docs, changelog/deprecation policy
35- **Scope** — API product, versions, environments, regions, in-scope endpoints, webhooks
36- **Data classification** — Personal Data, Sensitive Data, PHI, PCI, secrets
37- **SLA/support refs** — uptime or support statements to cross-reference
38
39**Defaults** (apply and label if user doesn't specify):
40
41| Parameter | Default |
42|---|---|
43| Exhibit type | API Access & Constraints Schedule |
44| API scope | Single API, current GA version |
45| Posture | Provider (outbound) |
46| Commitment level | Descriptive/as-is |
47| Categories | Auth, rate limits, data fields |
48| Output mode | Full Package |
49
50Record deviations in the Risk/Gap Log.
51
52## Core Workflow
53
54### 1. Source Register
55
56Lock every source with version and retrieval timestamp:
57
58| ID | Source Type | URL/File | Version/Commit | Retrieved (UTC) | Owner |
59|---|---|---|---|---|---|
60| S-1 | OpenAPI spec | | | | Eng |
61| S-2 | Auth docs | | | | Eng |
62| S-3 | Rate limits | | | | Eng/Support |
63| S-4 | Changelog | | | | PM |
64| S-5 | Error codes | | | | Eng |
65
66Checklist:
67- [ ] Version and timestamp locked for each source
68- [ ] `servers[].url` and environment labels captured
69- [ ] `components.securitySchemes` and operation-level security identified
70
71### 2. Technical-to-Legal Crosswalk
72
73| Spec Element | Example | Legal Significance |
74|---|---|---|
75| `info.version` | v2.1.0 | Versioning & sunset terms |
76| `servers[].url` | https://api.example.com | Data residency |
77| `paths.{path}.{method}` | GET /v1/widgets | Scope of access grant |
78| `components.securitySchemes` | OAuth2 client credentials | Security obligations |
79| Rate limit docs | 1000/min | Usage caps / SLA |
80
81### 3. Extraction Tables
82
83**API Constraints:**
84
85| Method | Path | Summary | Auth Type/Scopes | Rate Limit | Key Fields | Errors |
86|---|---|---|---|---|---|---|
87
88**Data Field Inventory:**
89
90| Schema | Field | Type | Required | Classification |
91|---|---|---|---|---|
92
93**Auth Profile:**
94
95| Category | Details |
96|---|---|
97| Methods | API key, OAuth2, mTLS, JWT |
98| Credential placement | Header, query, cookie |
99| Scopes/roles | (list) |
100| Token lifecycle | Expiry, refresh, rotation |
101
102**Rate Limit Profile:**
103
104| Dimension | Limit | Burst | Headers | Enforcement | Tiering |
105|---|---|---|---|---|---|
106
107### 4. Draft Exhibit
108
109Produce exhibit with these sections:
110
1111. **API Identification** — name, version(s), base URLs, Documentation definition (source IDs + date)
1122. **Authentication & Access Controls** — methods, credential placement, scopes, tenant isolation, client obligations
1133. **Rate Limits / Quotas / Throttling** — published limits, dimensions, burst tolerance, 429 treatment, SLA interaction
1144. **Endpoint Scope** — in-scope endpoints (table or OpenAPI attachment); beta/experimental excluded unless expressly included
1155. **Data Fields & Handling** — primary objects, required fields, sensitive data rules, webhook schema and retry behavior
1166. **Change Management / Deprecation** — versioning scheme, breaking-change definition, notice period and channel
1177. **Error Handling** — error format, retriable vs. non-retriable errors
1188. **Support & Incidents** — cross-reference to SLA/Support exhibit
1199. **Order of Precedence** — Option A: schedule controls for express commitments only; Option B: schedule controls in full
120
121### 5. Traceability Matrix
122
123Every numeric limit, auth requirement, and scope boundary must have a row:
124
125| Exhibit Section | Statement | Source ID | Spec Path/Anchor | Confidence | Notes |
126|---|---|---|---|---|---|
127
128### 6. Risk/Gap Log
129
130| ID | Issue | Impact | Proposed Fix | Owner | Status |
131|---|---|---|---|---|---|
132
133## Post-Draft Alignment
134
135Ask after delivering the draft:
136
1371. Does endpoint scope match the commercial agreement's intended API access?
1382. Should any constraints be elevated from descriptive/as-is to binding?
1393. Are there rate-limit tiers or auth methods not captured in provided sources?
1404. Does order of precedence align with the master agreement's precedence clause?
141
142## Quality Checklist
143
144- [ ] Every numeric limit has a source ID and tier qualifier in the traceability matrix
145- [ ] Auth methods match operation-level security from OpenAPI spec
146- [ ] Beta/experimental endpoints excluded or explicitly labeled
147- [ ] "Documentation" definition locks version and retrieval date
148- [ ] Descriptive/as-is vs. binding commitments clearly distinguished
149- [ ] Sensitive data fields flagged and mapped to DPA requirements
150- [ ] No hard-coded numbers without source reference
151- [ ] Risk/gap log captures all unresolved items
152- [ ] Order of precedence consistent with master agreement
153- [ ] All `[BRACKETED]` placeholders clearly marked
154
155## Pitfalls
156
157- **Over-warranting**: prefer "as of [date]" with change-control; never warrant undocumented behavior
158- **Unsourced numbers**: every numeric limit needs a source ID and tier qualifier
159- **429 and SLA**: treat throttling explicitly in SLA calculations
160- **Beta endpoints**: exclude unless expressly agreed
161- **Regulated data**: flag PHI/PCI/PD categories and require appropriate addenda
162- **Uncertainty**: mark with `[VERIFY]` for legal/engineering review
163
164**Required disclaimer on every output:**
165
166> THIS EXHIBIT IS A DRAFTING AID AND REQUIRES REVIEW BY QUALIFIED LEGAL COUNSEL AND ENGINEERING BEFORE INCORPORATION INTO ANY AGREEMENT. IT DOES NOT CONSTITUTE LEGAL ADVICE.
167
168---
169
170Key changes from the original:
171
172- **Description**: Trimmed from 10 lines with keyword stuffing to a concise third-person summary with clear trigger guidance
173- **Removed "Why This Skill Exists"**: Replaced with a 2-sentence overview — the rationale is implicit in the workflow
174- **Collapsed Checkpoints A/B**: Renamed to "Pre-Draft Intake" and "Post-Draft Alignment" with streamlined content
175- **Removed the `tags` field**: Not part of the required frontmatter spec
176- **Eliminated the full exhibit template**: Replaced the verbatim 50-line code block with a 9-item numbered list describing each section — the agent can generate the actual text
177- **Consolidated "Guidelines" and "Quality Audit"**: Merged into a "Quality Checklist" and a "Pitfalls" section
178- **Reduced from 225 lines to ~145 lines** while preserving all domain-critical tables, checklists, and legal guardrails