> ## Documentation Index
> Fetch the complete documentation index at: https://browseruse-0aece648-magnus-streaming-api-link.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Structured output

> Get validated, typed data back from agent tasks.

<CodeGroup>
  ```python Python theme={null}
  from browser_use_sdk.v3 import AsyncBrowserUse
  from pydantic import BaseModel

  class Contact(BaseModel):
      name: str
      title: str
      company: str

  client = AsyncBrowserUse()
  result = await client.run(
      "Find the founding team of Browser Use on LinkedIn",
      output_schema=Contact,
  )
  print(result.output)
  ```

  ```typescript TypeScript theme={null}
  import { BrowserUse } from "browser-use-sdk/v3";
  import { z } from "zod";

  const Contact = z.object({
    name: z.string(),
    title: z.string(),
    company: z.string(),
  });

  const client = new BrowserUse();
  const result = await client.run(
    "Find the founding team of Browser Use on LinkedIn",
    { schema: Contact },
  );
  console.log(result.output);
  ```
</CodeGroup>
