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: RIRLift Training Actions Program Format API
version: 1.0.0
description: Read a lifter's consented RIRLift training snapshot and stage program drafts for their review. Staging never changes active training automatically.
servers:
- url: https://mcp.rirlift.com/actions
tags:
- name: Program Format
paths:
/v1/program-format:
get:
operationId: getProgramFormat
summary: Read the importable RIRLift program format
description: Call this before stageProgramDraft to obtain authoring rules and canonical exercise keys.
security:
- rirliftOAuth:
- rirlift.read
responses:
'200':
description: Program format and exercise keys
content:
application/json:
schema:
type: object
additionalProperties: true
'401':
description: The OAuth token or underlying RIRLift grant is no longer valid; reconnect RIRLift.
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
'403':
description: The token does not have the required read scope.
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
'404':
description: No uploaded training snapshot is available yet; open RIRLift and retry.
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
'503':
description: RIRLift is temporarily unable to read the training snapshot.
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
error:
type: string
message:
type: string
tags:
- Program Format
components:
securitySchemes:
rirliftOAuth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://mcp.rirlift.com/authorize
tokenUrl: https://mcp.rirlift.com/token
scopes:
rirlift.read: Read the lifter's consented RIRLift training snapshot
rirlift.write: Stage program drafts for the lifter to review in RIRLift
externalDocs:
description: RIRLift privacy policy
url: https://www.rirlift.com/privacy/