Skip to main content
POST
Edit artifact metadata and high-level fields

Body

application/json
id
string
required

Artifact id

command
string

Replace command

costUsd
string

Replace known cost in USD

durationMs
string

Replace duration in milliseconds

input
string

Replace raw/structured input JSON

inputTokens
string

Replace input token count

lineage
string

Merge lineage JSON object

message
string

Replace channel message id

metadata
string

Merge metadata JSON object

metrics
string

Merge metrics JSON object

mime
string

Replace MIME type

model
string

Replace model

output
string

Replace raw/structured output JSON

outputTokens
string

Replace output token count

path
string

Replace/ingest file path

prompt
string

Replace prompt

provider
string

Replace provider

session
string

Replace session name/key reference

status
string

Replace status

summary
string

Replace summary

tags
string

Replace tags

task
string

Replace task id

title
string

Replace title

totalTokens
string

Replace total token count

uri
string

Replace external URI/reference

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.