---
title: "Changes to Scheduled job labels"
method: PUT
path: "/api/scheduled-jobs/{namespace}/{jobId}/labels"
---

# Changes to Scheduled job labels

`PUT /api/scheduled-jobs/{namespace}/{jobId}/labels`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 278 revisions.

- **2026-10-01** `238d2f7ca94b`: 2 warning
- **2026-09-11** `c447fcdd4d16`: 1 info
- **2026-09-08** `bd17546f47b8`: 6 breaking, 5 info
- **2026-07-27** `05ebd27557fb`: 2 info
- **2026-07-26** `36390f25f00f`: 1 info

## Changes

- **2026-10-01** `238d2f7ca94b`: 2 warning
  - changed the pattern of the request property `labels/additionalProperties/` from `^[a-zA-Z0-9._-]*$` to `^[a-zA-Z0-9_-]*$`
  - changed the pattern of the request property `labels/propertyNames/` from `^[a-zA-Z0-9._-]+$` to `^[a-zA-Z0-9_-]+$`
- **2026-09-11** `c447fcdd4d16`: 1 info
  - added the optional property `jobSpec/network` to the response with the `200` status
- **2026-09-08** `bd17546f47b8`: 6 breaking, 5 info
  - the `initiator/type` response's property type changed from no type to `string` for status `200`
  - the `jobSpec/arch` response's property type changed from no type to `string` for status `200`
  - the `jobSpec/flavor` response's property type changed from no type to `string` for status `200`
  - the `jobSpec/hfToken/tokenRole` response's property type changed from no type to `string` for status `200`
  - the `owner/type` response's property type changed from no type to `string` for status `200`
  - the `type` response's property type changed from no type to `string` for status `200`
  - the `createdAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `jobSpec/finishedAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `jobSpec/startedAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `status/lastJob/anyOf[subschema #1]/at` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `status/nextJobRunAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-07-27** `05ebd27557fb`: 2 info
  - added the optional property `jobSpec/resourceGroup` to the response with the `200` status
  - added the optional property `jobSpec/resourceGroupId` to the response with the `200` status
- **2026-07-26** `36390f25f00f`: 1 info
  - added the optional property `jobSpec/expose` to the response with the `200` status

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/scheduled-jobs/:namespace/:jobId/labels/put.md) - [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) - [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/scheduled-jobs/:namespace/:jobId/labels/put)
