Production Date
PUT /api/v2/metrics/production_date
Description
The production_date
endpoint updates the production date for a job's metrics tracking system. The production date is used to determine when the model entered production mode and affects how metrics are calculated and reported.
Quick Start Examples
Update production date for a job
curl -X PUT "https://your.arcanna.ai/api/v2/metrics/production_date?job_id=1234&production_date=2025-01-15T09:00:00Z" \
-H "X-Arcanna-Api-Key: your-api-key-here" \
-H "Content-Type: application/json"
Request Parameters
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
job_id | integer or string | Yes | The ID or name of the job to update production date for |
production_date | string | Yes | The production date in ISO 8601 format (e.g., '2025-01-15T09:00:00Z') |
Response
Success Response (200 OK)
{
"request": {
"status": "OK",
"reason": null,
"reason_details": null
}
}
Error Response (404 Not Found)
{
"request": {
"status": "NOK",
"reason": "Inexistent job id: 1234",
"reason_details": null
}
}