dots.v2.actionGateway.outputViews.get()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.actionGateway.outputViews.get(requestConfiguration?: RequestConfiguration<OutputViewsRequestBuilderGetQueryParameters>): Promise<undefined | List_output_views_response>

Description

Returns the output views your team can use: views DigitalOcean publishes to every team, plus your team’s own. Cursor-paged with page_size and page_token; no total is reported.

Parameters

tool string optional

Example: exa_web_search

At most one of tool or tool_id, as on create. With one set, the list is the published views plus your team's own on that tool version. With neither, it is every live view your team owns plus every published view on a tool version your catalog exposes, across tools.

toolId string optional

Example: tul_exa_web_search

Opaque ID of the tool version; see tool.

pageSize integer optional

Example: 20

Page size, 1 to 100. Defaults to 20 when omitted or 0; other values are rejected with 400.

Default: 20

Min: 1

Max: 100

pageToken string optional

Example: ZXhhX3dlYl9zZWFyY2hAMQ

next_page_token from the previous response. Valid only with the same tool selection; otherwise the request is rejected with 400.

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.actionGateway.outputViews.get();

Response Example

Show Response Example
{
  "views": [
    {
      "view_id": "ov_4f0c2a9d8e1b47c6a3d5f7e9b1c3a5d7",
      "tool_id": "tul_exa_web_search",
      "tool": "exa_web_search",
      "version": "v1",
      "team_id": "123456",
      "name": "titles-and-urls",
      "description": "Keep only result titles and URLs.",
      "kind": "OUTPUT_VIEW_KIND_PROJECTION",
      "fields": [
        "results.title",
        "results.url"
      ],
      "output_schema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "audit": {
        "createdAt": "2026-09-01T16:00:00Z",
        "updatedAt": "2026-09-01T16:00:00Z",
        "deletedAt": null
      }
    }
  ],
  "tool_id": "tul_exa_web_search",
  "tool": "exa_web_search",
  "version": "v1",
  "next_page_token": ""
}

More Information

See /v2/action-gateway/output-views in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.