Update
Updates the supplied fields of an existing external storage policy by name or ID in the authenticated workspace and project. Use this to change the artifact destination or rotate its credentials. Changes affect subsequent artifact delivery for agents referencing the policy; changing the endpoint or bucket can send conversation artifacts, which may contain personal data, to a different external destination. Confirm the intended destination before updating. Rotate credentials by providing both access_key_id and secret_access_key. This operation does not move or delete artifacts already delivered.
Authentication
Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.
Path parameters
Query parameters
The name of the project containing the external storage policy. Only used when nameOrId is a name.
Request
The name of the external storage policy. Must be snake_case, start with a lowercase letter and be unique within the project.
The S3-compatible endpoint URL that artifacts are uploaded to. Must be a publicly routable HTTPS URL without embedded credentials.
The region of the bucket. Set to null when the endpoint doesn’t require a region.
Access key ID used to authenticate with the endpoint. Must be provided together with secret_access_key.
Secret access key used to authenticate with the endpoint. Must be provided together with access_key_id.