Authorization: Bearer ********************
curl --location -g --request GET 'https://paas.matpool.com/v1/job?id={{job_id}}'
{
"code": 0,
"msg": "",
"job": {
"id": 421136,
"ctx": {
"ownerId": 724,
"nodeId": 1698381,
"clientID": 10001,
"nodeDisplayID": "Zkj4Qm",
"class": "",
"aotuRelease": false,
"releaseTime": null,
"nodeDomain": 0
},
"state": {
"status": 3,
"log": [
{
"id": 2498421,
"status": 6,
"ts": {
"seconds": 1744020679
},
"sourceId": 421136
},
{
"id": 2498422,
"status": 1,
"ts": {
"seconds": 1744020679
},
"sourceId": 421136
},
{
"id": 2498424,
"status": 2,
"ts": {
"seconds": 1744020703
},
"sourceId": 421136
},
{
"id": 2498425,
"status": 3,
"ts": {
"seconds": 1744020724
},
"sourceId": 421136
}
]
},
"status": 3,
"app": {
"name": "",
"ver": "",
"envs": "model_code=3;env=hello",
"format": 2,
"files": null,
"cmd": "tail -f /dev/null",
"hostname": "",
"creds": "",
"ports": [
{
"port": 22,
"protocol": 1,
"extraData": null
},
{
"port": 8888,
"protocol": 2,
"extraData": null
},
{
"port": 8989,
"protocol": 1,
"extraData": null
},
{
"port": 8895,
"protocol": 2,
"extraData": null
}
],
"urls": {
"port_22": {
"urls": [
"ssh://hz-t3.matpool.com:29507"
]
},
"port_8888": {
"urls": [
"https://hz-t3.matpool.com:29839?token=SVRWq5p7zL"
]
},
"port_8895": {
"urls": [
"https://hz-t3.matpool.com:26171?token=SVRWq5p7zL"
]
},
"port_8989": {
"urls": [
"ssh://hz-4.matpool.com:27083"
]
}
},
"fromSnapshotId": 0,
"SSHAuths": [
{
"BaseOn": {
"Cred": {
"id": 1886413,
"user": "root",
"password": "Xvc73v(RS2T5-qW1"
}
}
}
],
"netConfig": null,
"remark": "job & instance's name",
"fromImageId": 633839
},
"res": {
"cpus": 0,
"gpus": 0,
"diskGB": 0,
"gpuName": "NVIDIA A16",
"domain": "all",
"agentDomain": 0
},
"createTime": {
"seconds": 1744020679
},
"vols": null,
"queueLen": 0,
"nets": [],
"displayID": "PVpNM1",
"autoRelease": false,
"releaseTime": null,
"updateTime": null,
"desc": ""
}
}