Skip to content

Make grepping the OpenAPI spec the default for unobvious API questions#10

Merged
Jose-Sabater merged 1 commit into
mainfrom
skills-openapi-spec-grep-rule
May 28, 2026
Merged

Make grepping the OpenAPI spec the default for unobvious API questions#10
Jose-Sabater merged 1 commit into
mainfrom
skills-openapi-spec-grep-rule

Conversation

@Jose-Sabater

@Jose-Sabater Jose-Sabater commented May 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Triggered by a ZDR lookup that wandered through docs pages and the model catalog before finding the answer was route.data_handling.zdr.status on each model, surfaced via GET /v3/models?include=route. The spec had it all along.
  • opper-api/SKILL.md: lead the "source of truth" section with the rule, add the ZDR lookup as a worked example, and document include=maker|route|benchmarks on /v3/models with the compliance fields route exposes (ZDR, residency, retention, training opt-out, third-party access, GDPR/DPA).
  • opper/SKILL.md (router): promote the same rule into Ground rules so agents loading just the entry skill know to grep the spec for any unobvious API question.

Test plan

  • scripts/validate-skills.sh passes (also runs in the push pre-receive)
  • Spot-check the rendered pages on skills.opper.ai after deploy
  • Sanity-check the worked example: curl -s -H "Authorization: Bearer $OPPER_API_KEY" "https://api.opper.ai/v3/models?include=route" | jq '.models[0].route.data_handling.zdr'

…API questions

Triggered by a ZDR lookup that wandered through docs pages and the model
catalog before finding the answer was a `route.data_handling.zdr.status`
field exposed via `GET /v3/models?include=route`. The spec had it all along.

- opper-api: lead the "source of truth" section with the rule, add the ZDR
  lookup as a worked example, and document `include=maker|route|benchmarks`
  on `/v3/models` with the compliance fields `route` exposes.
- opper (router): promote the same rule into Ground rules so agents loading
  just the entry skill know to grep the spec for any unobvious API question.
@Jose-Sabater
Jose-Sabater marked this pull request as draft May 28, 2026 14:42
@Jose-Sabater
Jose-Sabater marked this pull request as ready for review May 28, 2026 14:42
@Jose-Sabater
Jose-Sabater merged commit 0d07d03 into main May 28, 2026
1 check passed
@Jose-Sabater
Jose-Sabater deleted the skills-openapi-spec-grep-rule branch May 28, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant