Add job_id field to Asset schema and deprecate prompt_id (#13736)

- Add job_id as a nullable UUID field to the Asset schema
- Mark prompt_id as deprecated with note pointing to job_id
- No x-runtime tag needed as both runtimes populate the field
This commit is contained in:
Matt Miller 2026-05-06 13:48:44 -07:00
parent f25474bd83
commit 7939f73fc5

View File

@ -5893,7 +5893,14 @@ components:
prompt_id: prompt_id:
type: string type: string
format: uuid format: uuid
description: ID of the prompt that created this asset 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
created_at: created_at:
type: string type: string
format: date-time format: date-time