Vigilfield Docs
API referenceSources

Source_update

PUT/sources/{id}

Path Parameters

id*string

Source id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

PUT /sources/{id} body — edit metadata and/or the pipeline. A pipeline edit re-runs provisioning where needed; the S ≼ T compatibility re-check against any attached table lands with #1292.

⚠️ deny_unknown_fields, deliberately (one of four write DTOs — see organization/dto.rs for the documented default and why these four depart from it): a view's text is no longer a source field (ADR-0069 — a view's query and event_time_field live on the table's population), so the dead keys must refuse rather than drop.

Response Body

application/json

curl -X PUT "https://example.com/sources/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "attached_table_id": "string",  "created_at": "string",  "cwl_observed_retention": null,  "description": "string",  "http_credential": null,  "id": "string",  "ingestion": null,  "name": "string",  "org_id": "string",  "output_schema": [    {      "data_type": "string",      "description": "string",      "name": "string",      "nullable": true,      "vrl_expression": "string"    }  ],  "owner_team_id": "string",  "template_id": "string",  "template_version": 0,  "updated_at": "string",  "warnings": [    "string"  ]}