Create agent session artifact
POST
/workspaces/{organizationId}/agent/sessions/{sessionId}/artifactsAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredsessionIdstringrequiredRequest body
application/jsonnamestringrequiredmin length 1
typestringrequiredAllowed:
difflogscreenshottraceoutputothercontentstringdatastringmimeTypestringurlstringResponses
201
Artifact captured
idstringrequiredsessionIdstringrequiredactorIdstring | nullrequiredtypestringrequiredAllowed:
thoughtresponseerrorelicitationpromptactionstatusartifactmessagestringrequiredpayloadany | nullparentIdstring | nullrequiredstartedAtstring | nullrequiredendedAtstring | nullrequireddurationMsnumber | nullrequiredcreatedAtstringrequired404
Session not found