The schema of a stream evolves as new fields arrive through intake, and the API does not replace field types. Use this endpoint to choose the index type of fields that are already in the schema. The call requires streams.configure. The same endpoint also edits retention and settings, see Edit retention and settings.
Body
Each entry of fields:
The response is the updated stream, in the shape that Get a stream shows. A change affects only the files that are written afterwards, and existing files keep their old indexes. A full_text index is limited to utf8 fields. Last modified on October 9, 2026