{"openapi":"3.1.0","info":{"title":"Baseten Training (BYOK) API","version":"0.1.0","description":"Baseten Training (BYOK) lets an AI assistant read your own Baseten Training data through the Baseten Training API with a key you supply (Baseten API key). Read-only: 7 tools (list_training_projects, get_training_project, list_training_jobs, get_training_job, list_training_job_checkpoints, get_training_project_cache_summary, get_training_job_queue_context). The BYOK key travels with each request,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-baseten-training.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-baseten-training/docs"},"termsOfService":"https://connectorbay.com/byok-baseten-training/terms"},"servers":[{"url":"https://byok-baseten-training.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-baseten-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_training_projects":{"post":{"operationId":"list_training_projects","summary":"List your Baseten training projects with team name and creation and update times. Reads metadata only: it starts, stops ","description":"List your Baseten training projects with team name and creation and update times. Reads metadata only: it starts, stops and changes nothing. Use for \"Which training projects do I have on Baseten\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_training_projectsArguments","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_project":{"post":{"operationId":"get_training_project","summary":"Get one Baseten training project by id with team name and times. Reads metadata only: it starts, stops and changes nothi","description":"Get one Baseten training project by id with team name and times. Reads metadata only: it starts, stops and changes nothing. Use for \"Show Baseten training project abc12345\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_project_id":{"description":"Training project id as returned by list_training_projects.","maxLength":100,"title":"Training Project Id","type":"string"}},"required":["training_project_id"],"title":"get_training_projectArguments","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_jobs":{"post":{"operationId":"list_training_jobs","summary":"List the jobs of a Baseten training project with status, instance type, node count, priority, availability model and err","description":"List the jobs of a Baseten training project with status, instance type, node count, priority, availability model and error message. Reads metadata only: it starts, stops and changes nothing. Use for \"What is the status of the jobs in Baseten training project abc12345\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_project_id":{"description":"Training project id as returned by list_training_projects.","maxLength":100,"title":"Training Project Id","type":"string"}},"required":["training_project_id"],"title":"list_training_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_training_job":{"post":{"operationId":"get_training_job","summary":"Get one Baseten training job: status, instance type, node count, priority, error message and times. Reads metadata only:","description":"Get one Baseten training job: status, instance type, node count, priority, error message and times. Reads metadata only: it starts, stops and changes nothing. Use for \"Did Baseten training job job12345 fail\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_project_id":{"description":"Training project id as returned by list_training_projects.","maxLength":100,"title":"Training Project Id","type":"string"},"training_job_id":{"description":"Training job id as returned by list_training_jobs.","maxLength":100,"title":"Training Job Id","type":"string"}},"required":["training_project_id","training_job_id"],"title":"get_training_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_job_checkpoints":{"post":{"operationId":"list_training_job_checkpoints","summary":"List the checkpoints a Baseten training job saved with type, size in bytes, sync status and creation time. Reads metadat","description":"List the checkpoints a Baseten training job saved with type, size in bytes, sync status and creation time. Reads metadata only: it starts, stops and changes nothing. Use for \"What checkpoints did Baseten training job job12345 save\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_project_id":{"description":"Training project id as returned by list_training_projects.","maxLength":100,"title":"Training Project Id","type":"string"},"training_job_id":{"description":"Training job id as returned by list_training_jobs.","maxLength":100,"title":"Training Job Id","type":"string"}},"required":["training_project_id","training_job_id"],"title":"list_training_job_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/get_training_project_cache_summary":{"post":{"operationId":"get_training_project_cache_summary","summary":"List the files in a Baseten training project's persistent cache with size in bytes and modification time. Reads metadata","description":"List the files in a Baseten training project's persistent cache with size in bytes and modification time. Reads metadata only: it starts, stops and changes nothing. Use for \"How much cache is the Baseten training project abc12345 using\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_project_id":{"description":"Training project id as returned by list_training_projects.","maxLength":100,"title":"Training Project Id","type":"string"}},"required":["training_project_id"],"title":"get_training_project_cache_summaryArguments","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_job_queue_context":{"post":{"operationId":"get_training_job_queue_context","summary":"Show why a Baseten training job waited in the queue: GPU type, GPUs requested, submit and release times, and pending sec","description":"Show why a Baseten training job waited in the queue: GPU type, GPUs requested, submit and release times, and pending seconds. Reads metadata only: it starts, stops and changes nothing. Use for \"How long did Baseten training job job12345 wait in the queue\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"training_job_id":{"description":"Training job id as returned by list_training_jobs.","maxLength":100,"title":"Training Job Id","type":"string"}},"required":["training_job_id"],"title":"get_training_job_queue_contextArguments","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}}}}