@archastro/sdk
    Preparing search index...

    Class ChatResource

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    completions: CompletionResource

    Methods

    • List available AI models Returns the set of AI models that can be used with the chat completion and workflow endpoints. The list reflects models currently enabled for the platform and includes each model's identifier and whether it is the default. Use the model field from any entry in data as the value for opts.model when calling the completions or workflows endpoint.

      Returns Promise<
          {
              data: {
                  capabilities: "search"
                  | "image"
                  | "thinking"[];
                  default: boolean;
                  id: string;
                  input_media_formats: string[];
                  name: string;
                  output_media_formats: string[];
              }[];
          },
      >

      Successful response