Vigilfield Docs
API referenceArtifacts

Artifact_update

PUT/investigations/{investigationId}/artifacts/{id}

Path Parameters

investigationId*string

Investigation id

id*string

Artifact id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Update request. lastQueryId carries the freshly-submitted query run from the React execute flow — the app's sequence is POST /queries (receives a qry-… id) → PATCH …/artifacts/{a} with lastQueryId set. Passing Some(None) (i.e. JSON null) is reserved for clearing the link in a future refactor; today the PATCH only sets a value when the caller sends one.

Response Body

application/json

curl -X PUT "https://example.com/investigations/string/artifacts/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "created_at": "string",  "id": "string",  "investigation_id": "string",  "last_query_id": "string",  "name": "string",  "org_id": "string",  "updated_at": "string"}