@digitalocean/dots - v1.0.1
    Preparing search index...

    Builds and executes requests for operations under /v2/gen-ai/agents/{agent_uu-id}/deployment_visibility

    interface Deployment_visibilityRequestBuilder {
        put(
            body: ApiUpdateAgentDeploymentVisibilityInputPublic,
            requestConfiguration?: RequestConfiguration<object>,
        ): Promise<undefined | ApiUpdateAgentDeploymentVisbilityOutput>;
        toPutRequestInformation(
            body: ApiUpdateAgentDeploymentVisibilityInputPublic,
            requestConfiguration?: RequestConfiguration<object>,
        ): RequestInformation;
        withUrl(rawUrl: string): Deployment_visibilityRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • Check whether an agent is public or private. To update the agent status, send a PUT request to /v2/gen-ai/agents/{uuid}/deployment_visibility.

      Parameters

      • body: ApiUpdateAgentDeploymentVisibilityInputPublic

        UpdateAgentDeploymentVisibilityInputPublic description

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns Promise<undefined | ApiUpdateAgentDeploymentVisbilityOutput>

      error when the service returns a 401 status code

      error when the service returns a 404 status code

      error when the service returns a 429 status code

      error when the service returns a 500 status code

      error when the service returns a 4XX or 5XX status code

    • Check whether an agent is public or private. To update the agent status, send a PUT request to /v2/gen-ai/agents/{uuid}/deployment_visibility.

      Parameters

      • body: ApiUpdateAgentDeploymentVisibilityInputPublic

        UpdateAgentDeploymentVisibilityInputPublic description

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns RequestInformation