Skip to main content
POST
Create a generic Ravi artifact record

Body

application/json
kind
string
required

Artifact kind, e.g. image, audio, report, trace

command
string

Command that produced the artifact

costUsd
string

Known cost in USD

durationMs
string

Generation duration in milliseconds

input
string

Raw/structured input JSON

inputTokens
string

Input token count

lineage
string

Lineage JSON object

message
string

Channel message id

metadata
string

Metadata JSON object

metrics
string

Metrics JSON object

mime
string

MIME type override

model
string

Model that produced the artifact

output
string

Raw/structured output JSON

outputTokens
string

Output token count

path
string

Local file to ingest into artifact blob storage

prompt
string

Prompt or user instruction that generated the artifact

provider
string

Provider that produced the artifact

session
string

Override session key/name

summary
string

Human summary

tags
string

Comma-separated tags

task
string

Task id

title
string

Human title

totalTokens
string

Total token count

uri
string

External URI/reference

Response

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

The response is of type object.