# AI profiles

> Find the profile Corfedo AI uses for the API.

Source: https://docs.corfedo.ai/connect/api/ai/profiles/

An AI profile owns the model, instructions and run settings used by Corfedo AI. The API exposes available profiles, not profile administration.

```ts
const profiles = await client.ai.listProfiles();
console.log(profiles);
```

Over the API, Corfedo AI uses the profile a workspace administrator chose as the **Agent profile** under **SDK and API** in [Client access](https://docs.corfedo.ai/workspace/client-access/). The [profiles response](https://docs.corfedo.ai/reference/api/ai/listAiProfiles/) lists that profile and marks it as the default. It is empty while Corfedo AI is off for the API.

Every message uses that profile. A message does not name one, and the SDKs, chat adapters and CLI have no profile option. If the profile is restricted to groups you are not in, a message gives `profile_unavailable` (409). Ask an administrator to change the profile or its availability.

The CLI's root `--profile` option selects a local CLI connection profile, not an AI profile.

Run `limits` can lower the profile's bounds and `tools` can narrow Corfedo's tools. Sampling settings and system instructions belong to the profile. Chat adapters reject unsupported generation controls before sending a request.
