{"openapi":"3.1.0","info":{"title":"Fireworks AI DPO, reinforcement and training session jobs (your key) API","version":"0.1.0","description":"Fireworks AI DPO, reinforcement and training session jobs (your key) lets an AI assistant read your own Fireworks Training data through the Fireworks Training API with a key you supply (Fireworks API key). Read-only: 8 tools (list_dpo_jobs, get_dpo_job, list_reinforcement_fine_tuning_jobs, get_reinforcement_fine_tuning_job, list_training_sessions, get_training_session, list_training_runs,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fireworks-training.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fireworks-training/docs"},"termsOfService":"https://connectorbay.com/byok-fireworks-training/terms"},"servers":[{"url":"https://byok-fireworks-training.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fireworks-training/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_dpo_jobs":{"post":{"operationId":"list_dpo_jobs","summary":"List direct preference optimization (DPO) jobs with state, dataset, purpose and times. Reads job metadata only: it start","description":"List direct preference optimization (DPO) jobs with state, dataset, purpose and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Which DPO jobs have I run on Fireworks\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (default 50, values above 200 are treated as 200).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous answer's nextPageToken to get the following page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Optional filter expression in Google AIP-160 syntax, for example 'state=COMPLETED'.","title":"Filter"},"order_by":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields to order by; add ' desc' after a field for descending.","title":"Order By"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to include archived jobs.","title":"Include Archived"}},"required":["account_id"],"title":"list_dpo_jobsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_dpo_job":{"post":{"operationId":"get_dpo_job","summary":"Get one DPO job by id: state, dataset, purpose, status and times. Reads job metadata only: it starts, changes and cancel","description":"Get one DPO job by id: state, dataset, purpose, status and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"What is the state of Fireworks DPO job dpo1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"dpo_job_id":{"description":"DPO job id, the last part of its name.","maxLength":100,"title":"Dpo Job Id","type":"string"}},"required":["account_id","dpo_job_id"],"title":"get_dpo_jobArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reinforcement_fine_tuning_jobs":{"post":{"operationId":"list_reinforcement_fine_tuning_jobs","summary":"List reinforcement fine-tuning jobs with state, datasets, evaluator, node count, progress and times. Reads job metadata ","description":"List reinforcement fine-tuning jobs with state, datasets, evaluator, node count, progress and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Which reinforcement fine-tuning jobs are running on Fireworks\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (default 50, values above 200 are treated as 200).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous answer's nextPageToken to get the following page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Optional filter expression in Google AIP-160 syntax, for example 'state=COMPLETED'.","title":"Filter"},"order_by":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields to order by; add ' desc' after a field for descending.","title":"Order By"}},"required":["account_id"],"title":"list_reinforcement_fine_tuning_jobsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_reinforcement_fine_tuning_job":{"post":{"operationId":"get_reinforcement_fine_tuning_job","summary":"Get one reinforcement fine-tuning job by id with state, progress, evaluator and times. Reads job metadata only: it start","description":"Get one reinforcement fine-tuning job by id with state, progress, evaluator and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"How far along is Fireworks reinforcement fine-tuning job rft1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"reinforcement_fine_tuning_job_id":{"description":"Reinforcement fine-tuning job id, the last part of its name.","maxLength":100,"title":"Reinforcement Fine Tuning Job Id","type":"string"}},"required":["account_id","reinforcement_fine_tuning_job_id"],"title":"get_reinforcement_fine_tuning_jobArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_training_sessions":{"post":{"operationId":"list_training_sessions","summary":"List training sessions with state, reference state, base model and times. Reads job metadata only: it starts, changes an","description":"List training sessions with state, reference state, base model and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"What training sessions exist in my Fireworks account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (default 50, values above 200 are treated as 200).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous answer's nextPageToken to get the following page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Optional filter expression in Google AIP-160 syntax, for example 'state=COMPLETED'.","title":"Filter"},"order_by":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields to order by; add ' desc' after a field for descending.","title":"Order By"}},"required":["account_id"],"title":"list_training_sessionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_training_session":{"post":{"operationId":"get_training_session","summary":"Get one training session by id with state, base model and times. Reads job metadata only: it starts, changes and cancels","description":"Get one training session by id with state, base model and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Show Fireworks training session ts1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"training_session_id":{"description":"Training session id, the last part of its name.","maxLength":100,"title":"Training Session Id","type":"string"}},"required":["account_id","training_session_id"],"title":"get_training_sessionArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_training_runs":{"post":{"operationId":"list_training_runs","summary":"List training runs with state, base model, LoRA rank, source session and times. Reads job metadata only: it starts, chan","description":"List training runs with state, base model, LoRA rank, source session and times. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Which Fireworks training runs used LoRA rank 16\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Your Fireworks account id (the id in your account's resource names, for example 'my-account').","maxLength":100,"title":"Account Id","type":"string"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (default 50, values above 200 are treated as 200).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous answer's nextPageToken to get the following page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Optional filter expression in Google AIP-160 syntax, for example 'state=COMPLETED'.","title":"Filter"},"order_by":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields to order by; add ' desc' after a field for descending.","title":"Order By"}},"required":["account_id"],"title":"list_training_runsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_training_shapes":{"post":{"operationId":"list_training_shapes","summary":"List the training shapes (hardware and trainer presets) with accelerator, node count, mode and maximum context length. U","description":"List the training shapes (hardware and trainer presets) with accelerator, node count, mode and maximum context length. Use account 'fireworks' for the public ones. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Which GPU setups does Fireworks offer for training an 8B model\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Account id: 'fireworks' for the public catalog, or your own account id.","maxLength":100,"title":"Account Id","type":"string"},"page_size":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (default 50, values above 200 are treated as 200).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous answer's nextPageToken to get the following page.","title":"Page Token"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Optional filter expression in Google AIP-160 syntax, for example 'state=COMPLETED'.","title":"Filter"},"order_by":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated fields to order by; add ' desc' after a field for descending.","title":"Order By"}},"required":["account_id"],"title":"list_training_shapesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}