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.
openapi: 3.2.0
info:
title: TheArtOfService Knowledge Graph Compliance Platform Corpus…
version: 1.0.0
tags:
- name: corpus
paths:
/api/corpus/search:
get:
tags:
- corpus
summary: Search Questions
description: 'Candidate questions for a topic, each with the process area it belongs to.
The category name is the process area. Those names are already practice shaped
("Implement a Service Asset and Configuration Management (SACM) System"), which is why
grouping by them gives a usable scoring structure with no extra taxonomy.'
operationId: corpus_search_questions
security:
- HTTPBearer: []
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 2
maxLength: 200
description: topic or framework name
title: Q
description: topic or framework name
- name: limit
in: query
required: false
schema:
type: integer
maximum: 400
minimum: 1
default: 120
title: Limit
- name: assessment
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: restrict to one assessment by exact name
title: Assessment
description: restrict to one assessment by exact name
- name: framework
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: boost assessments that cover this framework
title: Framework
description: boost assessments that cover this framework
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Corpus Search Questions
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/corpus/assessments:
get:
tags:
- corpus
summary: List Matching Assessments
description: 'Assessments whose name matches, with how many questions each holds.
Lets a caller pick a whole coherent pool ("Service Management", 61 categories,
1,334 questions) instead of assembling one from search hits.'
operationId: corpus_list_assessments
security:
- HTTPBearer: []
parameters:
- name: q
in: query
required: true
schema:
type: string
minLength: 2
maxLength: 120
title: Q
- name: limit
in: query
required: false
schema:
type: integer
maximum: 50
minimum: 1
default: 20
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Corpus List Assessments
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/corpus/categories:
get:
tags:
- corpus
summary: List Categories
description: 'The practice areas inside one assessment, largest first.
These names carry more signal than the questions under them for anything that needs a
rateable statement of practice. They were written as things an organisation does
("Implement a Service Asset and Configuration Management (SACM) System"), which is one
edit away from something a person can score, whereas the questions beneath them are
mostly consulting prompts that cannot be scored at all.'
operationId: corpus_list_categories
security:
- HTTPBearer: []
parameters:
- name: assessment
in: query
required: true
schema:
type: string
minLength: 2
maxLength: 200
title: Assessment
- name: limit
in: query
required: false
schema:
type: integer
maximum: 400
minimum: 1
default: 120
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Corpus List Categories
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer