# Anthropic Integration via LowCodeAPI

## Overview

Claude AI models

## Base Endpoint

```
https://api.lowcodeapi.com/anthropic/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [https://www.anthropic.com](https://www.anthropic.com)
2. **Get your credentials** from [https://console.anthropic.com/settings/keys](https://console.anthropic.com/settings/keys)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

The `api_token` is your LowCodeAPI authentication token. LowCodeAPI will automatically:
- Fetch your Anthropic API key
- Apply it to each request with `x-api-key` header

**Auth Type**: API Key (x-api-key header)

## API Categories

- Frontier AI labs

## Common Endpoints

### Category: Message

#### Create a Message

**Method**: `POST` | **LowCodeAPI Path**: `/v1/messages`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/messages&api_token={api_token}
```


**Body Parameters**:

| `model` | string | Yes | The model that will complete your prompt |
| `tools` | array | No | Definitions of tools that the model may use |
| `top_k` | number | No | Only sample from the top K options for each subsequent token |
| `top_p` | number | No | Use nucleus sampling |
| `stream` | boolean | No | Whether to incrementally stream the response using server-sent events |
| `system` | string | No | System prompt |
| `messages` | array | Yes | Input messages |
| `metadata` | object | No | An object describing metadata about the request |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/messages?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"value","tools":"value","top_k":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/create](https://platform.claude.com/docs/en/api/messages/create)

---

#### Count Message tokens

**Method**: `POST` | **LowCodeAPI Path**: `/v1/messages/count_tokens`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/messages/count_tokens&api_token={api_token}
```


**Body Parameters**:

| `model` | string | Yes | The model that will complete your prompt |
| `tools` | array | No | Definitions of tools that the model may use |
| `system` | string | No | System prompt |
| `messages` | array | Yes | Input messages |
| `tool_choice` | object | No | The model can use a specific tool, any available tool, or decide by itself |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/messages/count_tokens?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"value","tools":"value","system":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/count_tokens](https://platform.claude.com/docs/en/api/messages/count_tokens)

---

### Category: Models

#### List Models

**Method**: `GET` | **LowCodeAPI Path**: `/v1/models`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/models&api_token={api_token}
```


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/models&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/models/list](https://platform.claude.com/docs/en/api/models/list)

---

#### Get a Model

**Method**: `GET` | **LowCodeAPI Path**: `/v1/models/model_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/models/model_id?model_id={model_id}&api_token={api_token}
```


**Path Parameters**:

| `model_id` | string | The model ID |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/models/model_id?model_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/models/retrieve](https://platform.claude.com/docs/en/api/models/retrieve)

---

### Category: Completions

#### Create a Text Completion

**Method**: `POST` | **LowCodeAPI Path**: `/v1/completions`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/completions&api_token={api_token}
```


**Body Parameters**:

| `model` | string | Yes | The model that will complete your prompt |
| `prompt` | string | Yes | The prompt that you want Claude to complete |
| `max_tokens_to_sample` | number | Yes | The maximum number of tokens to generate before stopping |
| `stop_sequences` | array | No | Custom text sequences that will cause the model to stop generating |
| `temperature` | number | No | Amount of randomness injected into the response |
| `top_p` | number | No | Use nucleus sampling |
| `top_k` | number | No | Only sample from the top K options for each subsequent token |
| `metadata` | object | No | An object describing metadata about the request |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/completions?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"value","prompt":"value","max_tokens_to_sample":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/completions/create](https://platform.claude.com/docs/en/api/completions/create)

---

### Category: Message Batches

#### Create a Message Batch

**Method**: `POST` | **LowCodeAPI Path**: `/v1/message_batches`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches&api_token={api_token}
```


**Body Parameters**:

| `input_file_id` | string | Yes | The ID of an uploaded file that contains requests for the new batch |
| `endpoint` | string | Yes | The endpoint to be used for the batch |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/message_batches?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"input_file_id":"value","endpoint":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/create](https://platform.claude.com/docs/en/api/messages/batches/create)

---

#### Retrieve a Message Batch

**Method**: `GET` | **LowCodeAPI Path**: `/v1/message_batches/batch_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id?batch_id={batch_id}&api_token={api_token}
```


**Path Parameters**:

| `batch_id` | string | The ID of the batch |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id?batch_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/retrieve](https://platform.claude.com/docs/en/api/messages/batches/retrieve)

---

#### Retrieve Message Batch Results

**Method**: `GET` | **LowCodeAPI Path**: `/v1/message_batches/batch_id/results`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id/results?batch_id={batch_id}&api_token={api_token}
```


**Path Parameters**:

| `batch_id` | string | The ID of the batch |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id/results?batch_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/retrieve-results](https://platform.claude.com/docs/en/api/messages/batches/retrieve-results)

---

#### List Message Batches

**Method**: `GET` | **LowCodeAPI Path**: `/v1/message_batches`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches?...&api_token={api_token}
```


**Query Parameters**:

| `limit` | number | No | Number of items to return per page |
| `after_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object |
| `before_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object |


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/message_batches?...&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/list](https://platform.claude.com/docs/en/api/messages/batches/list)

---

#### Cancel a Message Batch

**Method**: `POST` | **LowCodeAPI Path**: `/v1/message_batches/batch_id/cancel`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id/cancel?batch_id={batch_id}&api_token={api_token}
```


**Path Parameters**:

| `batch_id` | string | The ID of the batch |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id/cancel?batch_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/cancel](https://platform.claude.com/docs/en/api/messages/batches/cancel)

---

#### Delete a Message Batch

**Method**: `DELETE` | **LowCodeAPI Path**: `/v1/message_batches/batch_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id?batch_id={batch_id}&api_token={api_token}
```


**Path Parameters**:

| `batch_id` | string | The ID of the batch |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X DELETE "https://api.lowcodeapi.com/anthropic/v1/message_batches/batch_id?batch_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/messages/batches/delete](https://platform.claude.com/docs/en/api/messages/batches/delete)

---

### Category: Files

#### Create a File

**Method**: `POST` | **LowCodeAPI Path**: `/v1/files`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/files&api_token={api_token}
```


**Body Parameters**:

| `file` | file | Yes | The file to upload |
| `purpose` | string | No | The purpose of the file |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/files?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"file":"value","purpose":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/beta/files/create](https://platform.claude.com/docs/en/api/beta/files/create)

---

#### List Files

**Method**: `GET` | **LowCodeAPI Path**: `/v1/files`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/files?...&api_token={api_token}
```


**Query Parameters**:

| `limit` | number | No | Number of items to return per page |
| `after_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object |
| `before_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object |


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/files?...&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/beta/files/list](https://platform.claude.com/docs/en/api/beta/files/list)

---

#### Get File Metadata

**Method**: `GET` | **LowCodeAPI Path**: `/v1/files/file_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/files/file_id?file_id={file_id}&api_token={api_token}
```


**Path Parameters**:

| `file_id` | string | The ID of the file |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/files/file_id?file_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/beta/files/get](https://platform.claude.com/docs/en/api/beta/files/get)

---

#### Download a File

**Method**: `GET` | **LowCodeAPI Path**: `/v1/files/file_id/download`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/files/file_id/download?file_id={file_id}&api_token={api_token}
```


**Path Parameters**:

| `file_id` | string | The ID of the file |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/files/file_id/download?file_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/beta/files/download](https://platform.claude.com/docs/en/api/beta/files/download)

---

#### Delete a File

**Method**: `DELETE` | **LowCodeAPI Path**: `/v1/files/file_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/files/file_id?file_id={file_id}&api_token={api_token}
```


**Path Parameters**:

| `file_id` | string | The ID of the file |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X DELETE "https://api.lowcodeapi.com/anthropic/v1/files/file_id?file_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/beta/files/delete](https://platform.claude.com/docs/en/api/beta/files/delete)

---

### Category: Admin API

#### Get Current Organization

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/me`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/me&api_token={api_token}
```


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/me&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/organizations/me](https://platform.claude.com/docs/en/api/admin/organizations/me)

---

#### List Api Keys

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/api_keys`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys?...&api_token={api_token}
```


**Query Parameters**:

| `limit` | number | No | Number of items to return per page |
| `status` | string | No | Filter by API key status |
| `after_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object |
| `before_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object |
| `workspace_id` | string | No | Filter by Workspace ID |
| `created_by_user_id` | string | No | Filter by the ID of the User who created the object |


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys?...&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/api_keys/list](https://platform.claude.com/docs/en/api/admin/api_keys/list)

---

#### Create Api Key

**Method**: `POST` | **LowCodeAPI Path**: `/v1/organizations/api_keys`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys&api_token={api_token}
```


**Body Parameters**:

| `name` | string | Yes | Name for the API key |
| `workspace_id` | string | Yes | ID of the workspace to associate the API key with |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"value","workspace_id":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/api_keys/create](https://platform.claude.com/docs/en/api/admin/api_keys/create)

---

#### Get Api Key

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/api_keys/api_key_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id={api_key_id}&api_token={api_token}
```


**Path Parameters**:

| `api_key_id` | string | ID of the API key |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/api_keys/get](https://platform.claude.com/docs/en/api/admin/api_keys/get)

---

#### Update Api Key

**Method**: `PATCH` | **LowCodeAPI Path**: `/v1/organizations/api_keys/api_key_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id={api_key_id}&api_token={api_token}
```


**Path Parameters**:

| `api_key_id` | string | ID of the API key |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Body Parameters**:

| `name` | string | No | New name for the API key |
| `status` | string | No | Status of the API key |


**Example Request**:
```bash
curl -X PATCH "https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"value","status":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/api_keys/update](https://platform.claude.com/docs/en/api/admin/api_keys/update)

---

#### Delete Api Key

**Method**: `DELETE` | **LowCodeAPI Path**: `/v1/organizations/api_keys/api_key_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id={api_key_id}&api_token={api_token}
```


**Path Parameters**:

| `api_key_id` | string | ID of the API key |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X DELETE "https://api.lowcodeapi.com/anthropic/v1/organizations/api_keys/api_key_id?api_key_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/api_keys/delete](https://platform.claude.com/docs/en/api/admin/api_keys/delete)

---

#### List Workspaces

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/workspaces`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces?...&api_token={api_token}
```


**Query Parameters**:

| `limit` | number | No | Number of items to return per page |
| `after_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object |
| `before_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object |


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces?...&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/list](https://platform.claude.com/docs/en/api/admin/workspaces/list)

---

#### Create Workspace

**Method**: `POST` | **LowCodeAPI Path**: `/v1/organizations/workspaces`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces&api_token={api_token}
```


**Body Parameters**:

| `name` | string | Yes | Name for the workspace |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces?&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/create](https://platform.claude.com/docs/en/api/admin/workspaces/create)

---

#### Get Workspace

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/get](https://platform.claude.com/docs/en/api/admin/workspaces/get)

---

#### Update Workspace

**Method**: `PATCH` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Body Parameters**:

| `name` | string | No | New name for the workspace |


**Example Request**:
```bash
curl -X PATCH "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/update](https://platform.claude.com/docs/en/api/admin/workspaces/update)

---

#### Delete Workspace

**Method**: `DELETE` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X DELETE "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id?workspace_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/delete](https://platform.claude.com/docs/en/api/admin/workspaces/delete)

---

#### List Workspace Members

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id/members`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members?workspace_id={workspace_id}&...&api_token={api_token}
```


**Query Parameters**:

| `limit` | number | No | Number of items to return per page |
| `after_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object |
| `before_id` | string | No | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object |


**Path Parameters**:

| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members?workspace_id=VALUE&...&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/members/list](https://platform.claude.com/docs/en/api/admin/workspaces/members/list)

---

#### Create Workspace Member

**Method**: `POST` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id/members`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members?workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Body Parameters**:

| `user_id` | string | Yes | ID of the User to add to the workspace |
| `role` | string | No | Role for the user in the workspace |


**Example Request**:
```bash
curl -X POST "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members?workspace_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"value","role":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/members/create](https://platform.claude.com/docs/en/api/admin/workspaces/members/create)

---

#### Get Workspace Member

**Method**: `GET` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id/members/user_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members/user_id?user_id={user_id}&workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `user_id` | string | ID of the User |
| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Example Request**:
```bash
curl -X GET "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members/user_id?user_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/members/get](https://platform.claude.com/docs/en/api/admin/workspaces/members/get)

---

#### Update Workspace Member

**Method**: `PATCH` | **LowCodeAPI Path**: `/v1/organizations/workspaces/workspace_id/members/user_id`

**Full URL**:
```
https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members/user_id?user_id={user_id}&workspace_id={workspace_id}&api_token={api_token}
```


**Path Parameters**:

| `user_id` | string | ID of the User |
| `workspace_id` | string | ID of the Workspace |

**Note**: Path parameters are passed in the URL path. The LowCodeAPI path uses static parameter names, and the actual values are passed as query parameters with the same names.


**Body Parameters**:

| `role` | string | No | New role for the user in the workspace |


**Example Request**:
```bash
curl -X PATCH "https://api.lowcodeapi.com/anthropic/v1/organizations/workspaces/workspace_id/members/user_id?user_id=VALUE&&api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role":"value"}'
```

**Official Documentation**: [https://platform.claude.com/docs/en/api/admin/workspaces/members/update](https://platform.claude.com/docs/en/api/admin/workspaces/members/update)

---

## Usage Examples

### Example 1: Basic Usage

Get started with Anthropic API by making your first request.

```bash
# Your example code here
# This demonstrates basic usage
curl -X GET "https://api.lowcodeapi.com/anthropic/?api_token=YOUR_API_TOKEN"
```

### Example 2: Advanced Usage

Explore more advanced features and parameters.

```bash
# Your example code here
# This demonstrates advanced usage
curl -X GET "https://api.lowcodeapi.com/anthropic/?api_token=YOUR_API_TOKEN"
```

## Complete Endpoint Reference

For a complete list of all endpoints and their parameters, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/anthropic/definition`
- **Official Provider Documentation**: [https://platform.claude.com/docs/en/api/overview](https://platform.claude.com/docs/en/api/overview)

## Rate Limits & Best Practices

- Check your Anthropic account for specific rate limits
- Use appropriate error handling and retry logic
- Cache responses when appropriate to reduce API calls

## Error Handling

Standard HTTP status codes apply:
- `400` - Invalid request parameters
- `401` - Unauthorized (check your API key)
- `429` - Rate limit exceeded
- `500` - Internal server error