# API Reference



# Overview

Complete reference documentation for all Peam APIs. Choose a section to get started.

<div className="not-prose grid grid-cols-1 gap-4 sm:grid-cols-2">
  <a href="/docs/api-reference/client/ask-ai" className="rounded-xl border bg-card p-4 text-card-foreground shadow-sm transition hover:border-foreground/30 hover:bg-muted/40">
    <div className="text-sm font-medium">
      Client API
    </div>

    <p className="mt-1 text-sm text-muted-foreground">
      AskAI components, providers, hooks, and transports.
    </p>
  </a>

  <a href="/docs/api-reference/server/create-chat" className="rounded-xl border bg-card p-4 text-card-foreground shadow-sm transition hover:border-foreground/30 hover:bg-muted/40">
    <div className="text-sm font-medium">
      Server API
    </div>

    <p className="mt-1 text-sm text-muted-foreground">
      Chat runtimes, summarizers, and search helpers.
    </p>
  </a>

  <a href="/docs/api-reference/next/with-peam" className="rounded-xl border bg-card p-4 text-card-foreground shadow-sm transition hover:border-foreground/30 hover:bg-muted/40">
    <div className="text-sm font-medium">
      Next.js Integration
    </div>

    <p className="mt-1 text-sm text-muted-foreground">
      Configure Next.js with Peam and related utilities.
    </p>
  </a>

  <a href="/docs/api-reference/next/route" className="rounded-xl border bg-card p-4 text-card-foreground shadow-sm transition hover:border-foreground/30 hover:bg-muted/40">
    <div className="text-sm font-medium">
      Route Handler
    </div>

    <p className="mt-1 text-sm text-muted-foreground">
      Default Next.js route handler for API requests.
    </p>
  </a>
</div>


## Sitemap
[Overview of all docs pages](/sitemap.md)
