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

    Builds and executes requests for operations under /v2/gen-ai/openai/keys/{api_key_uu-id}/agents

    interface AgentsRequestBuilder {
        get(
            requestConfiguration?: RequestConfiguration<
                AgentsRequestBuilderGetQueryParameters,
            >,
        ): Promise<undefined | ApiListAgentsByOpenAIKeyOutput>;
        toGetRequestInformation(
            requestConfiguration?: RequestConfiguration<
                AgentsRequestBuilderGetQueryParameters,
            >,
        ): RequestInformation;
        withUrl(rawUrl: string): AgentsRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • List Agents by OpenAI Key.

      Parameters

      Returns Promise<undefined | ApiListAgentsByOpenAIKeyOutput>

      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

    • Parameters

      • rawUrl: string

      Returns AgentsRequestBuilder