Fireworks AI Gateway API
The Gateway API from Fireworks AI — 126 operation(s) for gateway.
Operations 198
GET
/v1/accounts/{account_id}/accountUsageFilterOptions
Distinct filter values for an account/time range (serverless + dedicated; for FE, separate -yet mirrors GetAccountUsage).
#
DELETE
/v1/accounts/{account_id}/batchInferenceJobs/{batch_inference_job_id}
Delete Batch Inference Job
#
GET
/v1/accounts/{account_id}/billingUsage
Get account usage (serverless and dedicated deployments). Optionally filter by usage type via the usage_type field. If not specified, returns all usage types. TODO: rename this to
#
POST
/v1/accounts/{account_id}/checkpoints/{checkpoint_id}:promote
Promote a checkpoint to a model. The checkpoint is identified by account + snapshot ID; the trainer job ID is passed in the request body to resolve the GCS bucket.
#
GET
/v1/accounts/{account_id}/datasets/{dataset_id}:getDownloadEndpoint
Get Dataset Download Endpoint
#
POST
/v1/accounts/{account_id}/datasets/{dataset_id}:getUploadEndpoint
Get Dataset Upload Endpoint
#
POST
/v1/accounts/{account_id}/deploymentShapes
CRUD APIs for deployment shape. Create Deployment Shape
#
GET
/v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}/versions
List Deployment Shapes Versions
#
GET
/v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}/versions/{version_id}
Get Deployment Shape Version
#
PATCH
/v1/accounts/{account_id}/deploymentShapes/{deployment_shape_id}/versions/{version_id}
Update Deployment Shape Version
#
GET
/v1/accounts/{account_id}/deployments/{deployment_id}/terminationMessage
Get termination message from deployment
#
GET
/v1/accounts/{account_id}/deployments/{deployment_id}:metrics
Get Deployment Metrics (Deprecated)
#
PATCH
/v1/accounts/{account_id}/deployments/{deployment_id}:scale
Scale Deployment to a specific number of replicas or to zero
#
POST
/v1/accounts/{account_id}/developerPasses
CRUD APIs for developer passes. Create Developer Pass
#
GET
/v1/accounts/{account_id}/evaluationJobs/{evaluation_job_id}:getExecutionLogEndpoint
Get Evaluation Job execution logs (stream log endpoint + tracing IDs).
#
DELETE
/v1/accounts/{account_id}/evaluations/{evaluation_id}
TODO: Add Update Evaluation Update Evaluation rpc UpdateEvaluation(UpdateEvaluationRequest) returns (Evaluation) { option (google.api.http) = { patch: "/v1/{evaluation.name=account
#
POST
/v1/accounts/{account_id}/evaluations/{evaluation_id}:preview
Preview an evaluation with sample data
#
GET
/v1/accounts/{account_id}/evaluators/{evaluator_id}/versions/{version_id}
CRUD APIs for evaluator revisions (AIP-162). Get Evaluator Revision
#
DELETE
/v1/accounts/{account_id}/evaluators/{evaluator_id}/versions/{version_id}
Delete Evaluator Revision (deletes alias if name is an alias per AIP-162)
#
POST
/v1/accounts/{account_id}/evaluators/{evaluator_id}/versions/{version_id}:alias
Alias Evaluator Revision - assign or update a user-specified alias
#
POST
/v1/accounts/{account_id}/evaluators/{evaluator_id}/versions/{version_id}:rollback
Rollback Evaluator to a specific revision
#
GET
/v1/accounts/{account_id}/evaluators/{evaluator_id}:getBuildLogEndpoint
Get Evaluator Build Log Endpoint
#
GET
/v1/accounts/{account_id}/evaluators/{evaluator_id}:getSourceCodeSignedUrl
Get Evaluator Source Code Endpoint
#
POST
/v1/accounts/{account_id}/evaluators/{evaluator_id}:getUploadEndpoint
Get Evaluator Upload Endpoint
#
GET
/v1/accounts/{account_id}/genericDeploymentTypes
List the generic deployment types under an account
#
GET
/v1/accounts/{account_id}/genericDeploymentTypes/{generic_deployment_type_id}
List all generic deployment type version
#
PATCH
/v1/accounts/{account_id}/genericDeploymentTypes/{generic_deployment_type_id}
Update Generic Deployment Type
#
DELETE
/v1/accounts/{account_id}/genericDeploymentTypes/{generic_deployment_type_id}
Delete Generic Deployment Type
#
GET
/v1/accounts/{account_id}/genericDeploymentTypes/{generic_deployment_type_id}/versions/{version_id}
Get generic deployment type version
#
DELETE
/v1/accounts/{account_id}/genericDeploymentTypes/{generic_deployment_type_id}/versions/{version_id}
Delete the generic deployment type version
#
GET
/v1/accounts/{account_id}/genericDeployments
List all the generic deployments under an account
#
PATCH
/v1/accounts/{account_id}/genericDeployments/{generic_deployment_id}
Create Generic Deployment
#
DELETE
/v1/accounts/{account_id}/genericDeployments/{generic_deployment_id}
Delete Generic Deployment
#
DELETE
/v1/accounts/{account_id}/identityProviders/{identity_provider_id}
Delete Identity Provider
#
POST
/v1/accounts/{account_id}/models/{model_id}/versions
CRUD APIs for model versions. Create Model Version
#
POST
/v1/accounts/{account_id}/models/{model_id}/versions/{version_id}:deploy
Deploy Model Version
#
GET
/v1/accounts/{account_id}/models/{model_id}/versions:count
Returns the number of model versions.
#
GET
/v1/accounts/{account_id}/policySettings
Returns the singleton PolicySettings for the given account.
#
GET
/v1/accounts/{account_id}/pricingPlans/{pricing_plan_id}
CRUD APIs for pricing plans. Get Pricing Plan
#
GET
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}
Get Reinforcement Fine-tuning Job
#
PATCH
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}
Update Reinforcement Fine-tuning Job
#
DELETE
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}
Delete Reinforcement Fine-tuning Job
#
POST
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}:cancel
Cancel Reinforcement Fine-tuning Job
#
POST
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}:debug
Debug Reinforcement Fine-tuning Job
#
GET
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}:getMetricsFileEndpoint
#
POST
/v1/accounts/{account_id}/reinforcementFineTuningJobs/{reinforcement_fine_tuning_job_id}:resume
Resume Reinforcement Fine-tuning Job
#
GET
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}
Get Reinforcement Fine-tuning Step
#
DELETE
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}
Delete Reinforcement Fine-tuning Step
#
GET
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}/checkpoints
List checkpoints for an RLOR Trainer Job
#
GET
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}/publicLogs
Get a signed URL for the public trainer logs of an RLOR Trainer Job.
#
POST
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}:cancel
Cancel Rlor Trainer Job
#
POST
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}:executeTrainStep
Execute one training step for keep-alive Reinforcement Fine-tuning Step
#
POST
/v1/accounts/{account_id}/rlorTrainerJobs/{rlor_trainer_job_id}:resume
Resume Rlor Trainer Job
#
GET
/v1/accounts/{account_id}/serverlessRateLimits
Lists effective global rate limits for shared serverless pool deployments (fireworks-owned). Values reflect configured limits as observed in production monitoring.
#
GET
/v1/accounts/{account_id}/serverlessTokenUsage
Serverless pool token throughput (tokens per minute) by time bucket and base model, from production usage metrics.
#
GET
/v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}
Get Supervised Fine-tuning Job
#
DELETE
/v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}
Delete Supervised Fine-tuning Job
#
POST
/v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}:cancel
Cancel Supervised Fine-tuning Job
#
POST
/v1/accounts/{account_id}/supervisedFineTuningJobs/{supervised_fine_tuning_job_id}:resume
Resume Supervised Fine-tuning Job
#
POST
/v1/accounts/{account_id}/supervisedFineTuningJobs:estimateCost
Estimate the cost of a Supervised Fine-tuning Job
#
GET
/v1/accounts/{account_id}/trails/{trail_id}:getMetrics
Get Trail Metrics (trace counts, token usage from tracing service)
#
POST
/v1/accounts/{account_id}/trainingSessionJobs
Create a training session job that binds an account to a shared trainer.
#
GET
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}
Get a training session job.
#
DELETE
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}
Delete a training session job and cascade-clean its child sessions and routes.
#
GET
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}/trainingSessions
List training sessions under a training session job.
#
POST
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}/trainingSessions
Create a training session under a training session job.
#
GET
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}/trainingSessions/{training_session_id}
Get a training session.
#
POST
/v1/accounts/{account_id}/trainingSessionJobs/{training_session_job_id}/trainingSessions/{training_session_id}:loadState
Load or switch the LoRA adapter state for a training session.
#
GET
/v1/accounts/{account_id}/trainingShapes/{training_shape_id}/versions
List Training Shapes Versions
#
GET
/v1/accounts/{account_id}/trainingShapes/{training_shape_id}/versions/{version_id}
Get Training Shape Version
#
PATCH
/v1/accounts/{account_id}/trainingShapes/{training_shape_id}/versions/{version_id}
Update Training Shape Version
#
GET
/v1/accounts/{account_id}/users/{user_id}/apiKeys/accounts/{account_id}/users/{user_id}
Get API Key
#
POST
/v1/accounts/{account_id}:testeval
Similar to preview evaluation, but no need to create the evaluation entry first.
#
Documentation
📖
Documentation
https://docs.fireworks.ai/guides/querying-text-models
📖
APIReference
https://docs.fireworks.ai/api-reference/post-chatcompletions
📖
APIReference
https://docs.fireworks.ai/api-reference/post-completions
📖
Documentation
https://docs.fireworks.ai/guides/querying-vision-language-models
📖
Documentation
https://docs.fireworks.ai/guides/querying-embeddings-models
📖
Documentation
https://docs.fireworks.ai/guides/querying-rerank-models
📖
Documentation
https://docs.fireworks.ai/guides/querying-image-language-models
📖
APIReference
https://docs.fireworks.ai/api-reference/generate-a-new-image-from-a-text-prompt
📖
Documentation
https://docs.fireworks.ai/guides/audio
📖
APIReference
https://docs.fireworks.ai/api-reference/audio-transcriptions
📖
Documentation
https://docs.fireworks.ai/guides/batch-inference
📖
Documentation
https://docs.fireworks.ai/fine-tuning/fine-tuning-models
📖
APIReference
https://docs.fireworks.ai/api-reference/files
📖
APIReference
https://docs.fireworks.ai/api-reference/list-models
📖
Documentation
https://docs.fireworks.ai/guides/ondemand-deployments
📖
APIReference
https://docs.fireworks.ai/api-reference
Specifications
⚙
OpenAPI
https://raw.githubusercontent.com/api-evangelist/fireworks-ai/refs/heads/main/openapi/fireworks-ai-gateway-api-openapi.yml
⚙
AsyncAPI
https://raw.githubusercontent.com/api-evangelist/fireworks-ai/refs/heads/main/asyncapi/fireworks-ai-asyncapi.yml