> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Profiles

> TypeScript SDK reference for the Profiles resource

## createProfile

`POST /v1/profiles` — Create Profile

```typescript theme={null}
import { client, Profiles } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Profiles.createProfile({
  body: {
    name: 'string'
  }
});
console.log(result);
```

## listProfiles

`GET /v1/profiles` — List Profiles

```typescript theme={null}
import { client, Profiles } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Profiles.listProfiles();
console.log(result);
```

## getProfile

`GET /v1/profiles/{name}` — Get Profile

```typescript theme={null}
import { client, Profiles } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Profiles.getProfile({
  path: {
    name: 'your-name'
  }
});
console.log(result);
```

## deleteProfile

`DELETE /v1/profiles/{name}` — Delete Profile

```typescript theme={null}
import { client, Profiles } from 'anchorbrowser';

// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });

const result = await Profiles.deleteProfile({
  path: {
    name: 'your-name'
  }
});
console.log(result);
```
