gateway.openapi_Gateway

Load or switch the LoRA adapter state for a training session.

post/v1/accounts/{account_id}/trainingSessions/{training_session_id}:loadState

Request

  • Base URL: https://api.fireworks.ai
  • URL: https://api.fireworks.ai/v1/accounts/{account_id}/trainingSessions/{training_session_id}:loadState
  • Auth: HTTP bearer

Path parameters

account_idstring required

The Account Id

training_session_idstring required

The Training Session Id

Request body

pathstring required

Adapter checkpoint path to load into the training session.

Response

A successful response.

namestring
displayNamestring

Human-readable display name of the training session. e.g. "Training session" Must be fewer than 64 characters long.

createTimestring date-time
updateTimestring date-time
state'TRAINING_SESSION_STATE_UNSPECIFIED' | 'READY' | 'FAILED' | 'DELETING' | 'EXPIRED'

AIP-216 lifecycle. DELETING is observable when DeleteTrainingSession releases the shared-trainer binding before the row is removed; Create is synchronous today and lands in READY directly, so no CREATING value is declared until an async Create path actually emits it (minimal-surface rule).

createdBystring
referenceState'TRAINING_SESSION_REFERENCE_STATE_UNSPECIFIED' | 'BASE' | 'ADAPTER'

ReferenceState indicates whether the session currently references the base model or a loaded LoRA adapter. Updated automatically when LoadTrainingSessionState is called.

  • BASE: Session is using the base model (no adapter loaded).
  • ADAPTER: Session has a LoRA adapter loaded.
baseModelstring

Base model resource name (accounts/{a}/models/{m}). Supplied at create_model (bind), not at create_session (reserve) — so OPTIONAL at the wire level and set-once / IMMUTABLE thereafter.

Changes

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