> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/readme/dedicated-account.md).

# Dedicated Account

Operations available only for enterprise dedicated accounts

## Test dedicated account API

> Basic endpoint to verify dedicated account API is working

```json
{"openapi":"3.0.0","info":{"title":"Content API","version":"1.0.0"},"tags":[{"name":"Dedicated Account","description":"Operations available only for enterprise dedicated accounts"}],"servers":[{"url":"https://api.autocontentapi.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/dedicated-account":{"get":{"summary":"Test dedicated account API","description":"Basic endpoint to verify dedicated account API is working","tags":["Dedicated Account"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"}}}}}},"401":{"description":"Unauthorized"}}}}}}
```

## Create a new notebook with resources

> Creates a new notebook with the specified resources (text, website, youtube, pdf)

```json
{"openapi":"3.0.0","info":{"title":"Content API","version":"1.0.0"},"tags":[{"name":"Dedicated Account","description":"Operations available only for enterprise dedicated accounts"}],"servers":[{"url":"https://api.autocontentapi.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/dedicated-account/createNotebook":{"post":{"summary":"Create a new notebook with resources","description":"Creates a new notebook with the specified resources (text, website, youtube, pdf)","tags":["Dedicated Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resources"],"properties":{"resources":{"type":"array","items":{"type":"object","required":["type","content"],"properties":{"type":{"type":"string","enum":["text","youtube","website","pdf"],"description":"The type of resource"},"content":{"type":"string","description":"The content of the resource (URL for website/youtube, text content for text, base64 for pdf)"}}}}}}}}},"responses":{"200":{"description":"Notebook created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"notebookId":{"type":"string","description":"The ID of the created notebook"}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"errorMessage":{"type":"string"}}}}}},"401":{"description":"Unauthorized - requires enterprise account"},"500":{"description":"Server error"},"503":{"description":"Service unavailable - browser is busy"}}}}}}
```

## Delete a notebook

> Deletes a notebook by its ID

```json
{"openapi":"3.0.0","info":{"title":"Content API","version":"1.0.0"},"tags":[{"name":"Dedicated Account","description":"Operations available only for enterprise dedicated accounts"}],"servers":[{"url":"https://api.autocontentapi.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/dedicated-account/deleteNotebook":{"post":{"summary":"Delete a notebook","description":"Deletes a notebook by its ID","tags":["Dedicated Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the notebook to delete"}}}}}},"responses":{"200":{"description":"Notebook deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}}}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"errorMessage":{"type":"string"}}}}}},"401":{"description":"Unauthorized - requires enterprise account"},"500":{"description":"Server error"},"503":{"description":"Service unavailable - browser is busy"}}}}}}
```

## Get all notebooks

> Retrieves all notebooks for the authenticated user

```json
{"openapi":"3.0.0","info":{"title":"Content API","version":"1.0.0"},"tags":[{"name":"Dedicated Account","description":"Operations available only for enterprise dedicated accounts"}],"servers":[{"url":"https://api.autocontentapi.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/dedicated-account/getNotebooks":{"get":{"summary":"Get all notebooks","description":"Retrieves all notebooks for the authenticated user","tags":["Dedicated Account"],"responses":{"200":{"description":"List of notebook IDs retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"notebookIds":{"type":"array","items":{"type":"string"},"description":"Array of notebook IDs"}}}}}},"401":{"description":"Unauthorized - requires enterprise account"},"500":{"description":"Server error"},"503":{"description":"Service unavailable - browser is busy"}}}}}}
```
