Content Scripting REST API
- Last UpdatedFeb 06, 2025
- 1 minute read
IMPORTANT: The Content Scripting REST API is in preview and is subject to change with each release.
The Content Scripting REST API allows you to programmatically define layout and data details to create AVEVA Insight content.
For examples of code to create different types of charts, see the Examples section.
API key authentication
Content Scripting REST API is secured using an API key. Because requests are processed only for valid API key bearers, Content Scripting REST API must carry a valid API key along with chart scripting request.
For information on creating an API key, see Acquire an API key for data retrieval.
Endpoint URL
Content Scripting REST API uses this endpoint URL:
https://online.wonderware.[DOMAINSUFFIX]/apis/Historian/v3/Contents?overwrite=true
The query parameter "overwrite" is used to overwrite the existing content with the same name. If this parameter is not provided and if the content with same name exist it will throw the duplicate content exist (409) error.