diff --git a/docs/http.md b/docs/http.md index 3477eee048..bc13d55741 100644 --- a/docs/http.md +++ b/docs/http.md @@ -227,14 +227,18 @@ Content-Type: application/json { "cog_version": "0.17.0", - "docs_url": "/openapi.json", + "docs_url": "/docs", "openapi_url": "/openapi.json", + "shutdown_url": "/shutdown", + "healthcheck_url": "/health-check", "predictions_url": "/predictions", - "health_check_url": "/health-check" + "predictions_idempotent_url": "/predictions/{prediction_id}", + "predictions_cancel_url": "/predictions/{prediction_id}/cancel" } ``` -If training is configured, the response also includes a `trainings_url` field. +If training is configured, the response also includes +`trainings_url`, `trainings_idempotent_url`, and `trainings_cancel_url` fields. ### `GET /health-check` diff --git a/docs/llms.txt b/docs/llms.txt index 2d4f8e6821..441b0249c8 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -1340,14 +1340,18 @@ Content-Type: application/json { "cog_version": "0.17.0", - "docs_url": "/openapi.json", + "docs_url": "/docs", "openapi_url": "/openapi.json", + "shutdown_url": "/shutdown", + "healthcheck_url": "/health-check", "predictions_url": "/predictions", - "health_check_url": "/health-check" + "predictions_idempotent_url": "/predictions/{prediction_id}", + "predictions_cancel_url": "/predictions/{prediction_id}/cancel" } ``` -If training is configured, the response also includes a `trainings_url` field. +If training is configured, the response also includes +`trainings_url`, `trainings_idempotent_url`, and `trainings_cancel_url` fields. ### `GET /health-check`