{"openapi":"3.1.0","info":{"title":"OpenAI fine tuning jobs, events and checkpoints (your key) API","version":"0.1.0","description":"OpenAI fine tuning jobs, events and checkpoints (your key) lets an AI assistant read your own OpenAI Fine Tuning data through the OpenAI Fine Tuning API with a key you supply (OpenAI API key). Read-only: 5 tools (list_fine_tuning_jobs, get_fine_tuning_job, list_fine_tuning_events, list_fine_tuning_checkpoints, list_checkpoint_permissions). The BYOK key travels with each request, is used for that...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-openai-fine-tuning.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-openai-fine-tuning/docs"},"termsOfService":"https://connectorbay.com/byok-openai-fine-tuning/terms"},"servers":[{"url":"https://byok-openai-fine-tuning.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-openai-fine-tuning/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_fine_tuning_jobs":{"post":{"operationId":"list_fine_tuning_jobs","summary":"List fine-tuning jobs with status, base model, resulting model name, trained tokens and times (Unix seconds). Reads job ","description":"List fine-tuning jobs with status, base model, resulting model name, trained tokens and times (Unix seconds). Reads job metadata only: it starts, changes and cancels nothing. Use for \"What fine-tuning jobs have I run on OpenAI and which finished\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many jobs to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for paging: the id of the last item of the previous page.","title":"After"}},"title":"list_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_fine_tuning_job":{"post":{"operationId":"get_fine_tuning_job","summary":"Get one fine-tuning job: status, models, trained tokens, file ids, seed, error and metadata. Reads job metadata only: it","description":"Get one fine-tuning job: status, models, trained tokens, file ids, seed, error and metadata. Reads job metadata only: it starts, changes and cancels nothing. Use for \"What is the status of OpenAI fine-tuning job ftjob-abc123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fine_tuning_job_id":{"description":"Fine-tuning job id, for example 'ftjob-abc123'.","maxLength":100,"title":"Fine Tuning Job Id","type":"string"}},"required":["fine_tuning_job_id"],"title":"get_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_fine_tuning_events":{"post":{"operationId":"list_fine_tuning_events","summary":"List status events of a fine-tuning job (newest first) with level, message and time. Reads job metadata only: it starts,","description":"List status events of a fine-tuning job (newest first) with level, message and time. Reads job metadata only: it starts, changes and cancels nothing. Use for \"Show the latest events of OpenAI fine-tuning job ftjob-abc123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fine_tuning_job_id":{"description":"Fine-tuning job id, for example 'ftjob-abc123'.","maxLength":100,"title":"Fine Tuning Job Id","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many events to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for paging: the id of the last item of the previous page.","title":"After"}},"required":["fine_tuning_job_id"],"title":"list_fine_tuning_eventsArguments","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_fine_tuning_checkpoints":{"post":{"operationId":"list_fine_tuning_checkpoints","summary":"List the checkpoints a fine-tuning job saved, with step number, checkpoint model name and training metrics. Reads job me","description":"List the checkpoints a fine-tuning job saved, with step number, checkpoint model name and training metrics. Reads job metadata only: it starts, changes and cancels nothing. Use for \"What checkpoints and loss values does OpenAI fine-tuning job ftjob-abc123 have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fine_tuning_job_id":{"description":"Fine-tuning job id, for example 'ftjob-abc123'.","maxLength":100,"title":"Fine Tuning Job Id","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many checkpoints to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for paging: the id of the last item of the previous page.","title":"After"}},"required":["fine_tuning_job_id"],"title":"list_fine_tuning_checkpointsArguments","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_checkpoint_permissions":{"post":{"operationId":"list_checkpoint_permissions","summary":"List which projects may use a fine-tuned model checkpoint. Needs an Admin API key (sk-admin-...). Reads job metadata onl","description":"List which projects may use a fine-tuned model checkpoint. Needs an Admin API key (sk-admin-...). Reads job metadata only: it starts, changes and cancels nothing. Use for \"Which projects can use OpenAI checkpoint ft:gpt-4o-mini:acme::abc123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fine_tuned_model_checkpoint":{"description":"Checkpoint model name, for example 'ft:gpt-4o-mini:acme::abc123:ckpt-step-100'.","maxLength":200,"title":"Fine Tuned Model Checkpoint","type":"string"},"project_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only the permission of this project id.","title":"Project Id"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many permissions to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor for paging: the id of the last item of the previous page.","title":"After"},"order":{"anyOf":[{"enum":["ascending","descending"],"type":"string"},{"type":"null"}],"default":"descending","description":"Sort order: descending (default) or ascending.","title":"Order"}},"required":["fine_tuned_model_checkpoint"],"title":"list_checkpoint_permissionsArguments","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}}}}