jobs
Job exposed ports
Changed onReplace the exposed ports of a running job, applied live (no re-run). Ports listed in portsPublic are reachable without any authentication.
put/api/jobs/{namespace}/{jobId}/expose
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/jobs/{namespace}/{jobId}/expose
- Auth: HTTP bearer
Path parameters
namespacestring required
jobIdstring required
Request body
Response
The job after its exposed ports have been updated
Changes
- warning
added the new
SPEND_LIMITenum value to the//response property for the response status
- warning
- info
added the optional property
to the response with the status
- info