Authentication

Provision an API key

Exchange a valid session JWT for a long-lived Bearer API key in format rm_agent_{live|test}_{random}_{checksum}. Intended for AI agents that need a stable key for repeated calls.

post/auth/provision

Request

  • Base URL: https://riskmodels.app/api
  • URL: https://riskmodels.app/api/auth/provision
  • Auth: HTTP bearer

Response

New API key provisioned.

api_keystring
environment'live' | 'test'
created_atstring date-time

Example response

{
  "api_key": "rm_agent_live_a1b2c3d4_xyz789"
}

Changes

No recorded changes to this operation across all 1 revision of this API.