概述
更新时间:2025-05-26
当前你查看的是最新的百舸v2版本API,v1版本即将废弃,推荐使用当前版本。如果已经在业务中集成v1版本,建议尽快完成迁移。
欢迎使用百度智能云百舸异构计算平台,您可以使用本文档介绍的API对百舸服务进行灵活的操作。
如果您是初次调用百度智能云产品的API,可以观看 API 入门视频指南,快速掌握调用API的能力。
分布式训练相关接口
接口类型 | 接口描述 |
---|---|
创建训练任务 | POST ?action=CreateJob&resourcePoolId=xxxx |
查询训练任务列表 | POST ?action=DescribeJobs&resourcePoolId=xxxx |
查询训练任务详情 | GET ?action=DescribeJob&resourcePoolId=xxxx |
删除训练任务 | POST ?action=DeleteJob&resourcePoolId=xxxx |
更新训练任务 | POST ?action=ModifyJob&&resourcePoolId=xxxx |
查询训练任务事件 | GET ?action=DescribeJobEvents&resourcePoolId=xxxx |
查询训练任务日志 | GET ?action=DescribeJobLogs&resourcePoolId=xxxx |
查询训练任务Pod事件 | GET ?action=DescribePodEvents&resourcePoolId=xxxx |
停止训练任务 | POST ?action=StopJob&resourcePoolId=xxxx |
查询训练任务监控 | GET ?action=DescribeJobMetrics&resourcePoolId=xxxx |
查询训练任务所在节点列表 | GET ?action=DescribeJobNodes&resourcePoolId=xxxx |
获取训练任务WebTerminal地址 | GET ?action=DescribeJobWebterminal&resourcePoolId=xxxx |
在线服务部署相关接口
接口类型 | 接口描述 |
---|---|
创建服务 | POST ?action=CreateService |
拉取服务列表 | GET ?action=DescribeServices&pageNumber=pageNumber&pageSize=pageSize&orderBy=orderBy&order=order |
获取服务状态 | GET ?action=DescribeServiceStatus&serviceId=serviceId |
查询服务详情 | GET ?action=DescribeService&serviceId=serviceId |
升级服务 | POST ?action=ModifyService&serviceId=serviceId&description=description |
服务扩缩容 | POST ?action=ModifyServiceReplicas&instanceCount=instanceCount |
配置公网访问 | POST ?action=ModifyServiceNetConfig&publicAccess=publicAccess&eip=eip |
拉取服务变更记录 | GET ?action=DescribeServiceChangelogs&serviceId=serviceId |
查询服务变更详情 | GET ?action=DescribeServiceChangelog&changeId=changeId |
删除服务 | POST ?action=DeleteService |
拉取服务pod列表 | GET ?action=DescribeServicePods&serviceId=serviceId |
摘除pod流量 | POST ?action=DisableServicePod&serviceId=serviceId&instanceId=instanceId&block=true |
删除pod并重建 | POST ?action=DeleteServicePod&serviceId=serviceId&instanceId=instanceId |
获取实例组列表 | GET ?action=DescribeServicePodGroups&serviceId=serviceId |