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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Fast Terms API
version: 0.1.0
tags:
- name: Terms
paths:
/api/terms:
get:
summary: Terms Status
description: 'The current Terms version, whether this user agreed to it, and the newest
version they agreed to before (None for a first-time user).'
operationId: terms_status_api_terms_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Terms
/api/terms/accept:
post:
summary: Accept Terms
description: 'Record that this user agreed to the current Terms and Privacy Policy. The
client sends the version it showed; a mismatch (a stale page, or the website and
worker disagreeing) is refused rather than recorded as agreement to unseen text.'
operationId: accept_terms_api_terms_accept_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TermsAcceptBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Terms
components:
schemas:
TermsAcceptBody:
properties:
version:
type: string
title: Version
type: object
required:
- version
title: TermsAcceptBody
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