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

# List projects

All projects owned by the signed-in user.

` GET /api/projects `

List projects

## Servers

- ` https://motioness.com ` — Production

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` sessionCookie `: ` apiKey `

  - Credential: ` better-auth.session_token ` in ` cookie `

  - Session cookie set by /api/user/signin, /api/user/signup, or the OAuth callback. Required for all authenticated endpoints.

## Responses

### ` 200 ` — List of projects

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` projects `

  - ` projects `: type ` array `

    - ` array item `: type ` object `

      - Required fields: ` id `, ` name `, ` domains `, ` brandConfig `, ` isDefault `, ` createdAt `, ` updatedAt `

      - ` id `: type ` string `

      - ` name `: type ` string `

      - ` domains `: type ` array `

        - ` array item `: type ` string `

      - ` brandConfig `: type ` object `

      - ` isDefault `: type ` boolean `

      - ` contentInventory `: type ` object `; nullable

      - ` messagingContext `: type ` object `; nullable

      - ` crawledAt `: type ` string `; nullable

      - ` createdAt `: type ` string `

      - ` updatedAt `: type ` string `

### ` 401 ` — Authentication required

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` string `

## Request examples

### cURL

```curl
curl -X GET 'https://motioness.com/api/projects'
```

### JavaScript

```javascript
const response = await fetch('https://motioness.com/api/projects', {
  method: 'GET'
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

response = requests.get('https://motioness.com/api/projects')
print(response.json())
```