From 50677ac7d4e4d09139454673a4d1423c18b4a789 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Wed, 6 May 2026 14:46:43 -0700 Subject: [PATCH] Add job_id and prompt_id to AssetUpdated schema Mirrors the Asset schema's deprecation pattern: prompt_id is marked deprecated with a description pointing to job_id; job_id is the new preferred field. PUT /api/assets/{id} responses can now carry both fields consistent with the other Asset-returning endpoints. --- openapi.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 7cd5e6b16..bf1ae7422 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -6457,6 +6457,17 @@ components: user_metadata: type: object additionalProperties: true + prompt_id: + type: string + format: uuid + nullable: true + deprecated: true + description: "Deprecated: use job_id instead. ID of the prompt that created this asset." + job_id: + type: string + format: uuid + nullable: true + description: ID of the job that created this asset updated_at: type: string format: date-time