Generated by API Evangelist
Written by API Evangelist tooling for CircleCI's API. It is a proposal applied on top of the contract, not a document CircleCI publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for CircleCI API V3 Context Restrictions API
version: 1.0.0
extends: openapi/circleci-context-restrictions-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-20'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v3/context-restrictions'].get
update:
x-apievangelist-phrasing:
intent: List a context's restrictions
effect: read
questions:
- Which projects, groups or expressions are restricted from using a context?
- Can I see the match pattern of each restriction on a context?
instructions:
- text: List restrictions on context {context_id}.
slots:
context_id: query.filter[context_id]
- text: Show every project, group and expression restriction for context {context_id}.
slots:
context_id: query.filter[context_id]
method: generated
generated: '2026-11-20'
- target: $.paths['/api/v3/context-restrictions'].post
update:
x-apievangelist-phrasing:
intent: Restrict a context to projects, groups or expressions
effect: write
questions:
- How do I limit which projects can read a context?
- Can I allow only certain groups or an expression to use a context?
instructions:
- text: Restrict context {context_id} to {restriction}.
slots:
context_id: requestBody.data
restriction: requestBody.data
- text: Add a {restriction_type} restriction to context {context_id}.
slots:
restriction_type: requestBody.data
context_id: requestBody.data
method: generated
generated: '2026-11-20'
- target: $.paths['/api/v3/context-restrictions/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a context restriction
effect: destructive
questions:
- How do I remove a project or group restriction from a context?
- Can I delete a context restriction by its id?
instructions:
- text: Delete restriction {id} from context {context_id}.
slots:
id: path.id
context_id: query.filter[context_id]
- text: Remove context restriction {id} on {context_id}.
slots:
id: path.id
context_id: query.filter[context_id]
method: generated
generated: '2026-11-20'
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.