dots.v2.actionGateway.outputViews.preview.post()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.actionGateway.outputViews.preview.post(body: Output_view_preview, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Output_view_response>Description
Validates a projection exactly as create does and returns the view it would produce, including output_schema, without storing anything. name and description are optional here; name uniqueness and the per-tool-version limit are not checked.
Parameters
toolstring optionalExample:
exa_web_searchTool slug, optionally pinned; as on create.
toolIdstring optionalOpaque ID of the tool version; as on create.
namestring optionalExample:
titles-and-urlsOptional view name, validated as on create when present.
descriptionstring optionalExample:
Keep only result titles and URLs.Optional description, validated as on create when present.
fieldsarray of strings requiredExample:
["results.title", "results.url"]Output paths to keep; as on create.
Request Sample
Response Example
More Information
See /v2/action-gateway/output-views/preview in the API reference for additional detail on responses, headers, parameters, and more.