POST
/
user
curl --request POST \
  --url https://api.carbon.ai/user \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "customer_id": "<string>"
}'
{
  "id": 123,
  "organization_id": 123,
  "organization_supplied_user_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "num_files_synced": 123,
  "num_characters_synced": 123,
  "num_tokens_synced": 123,
  "unique_file_tags": [
    {}
  ],
  "enabled_features": {},
  "custom_limits": {}
}

Authorizations

authorization
string
headerrequired

Bearer <token>, corresponds to API keys.

Body

application/json
customer_id
string
required

Response

200 - application/json
id
integer
required
organization_id
integer
required
organization_supplied_user_id
string
required
created_at
string
required
updated_at
string
required
deleted_at
string | null
required
num_files_synced
integer
required
num_characters_synced
integer
required
num_tokens_synced
integer
required
unique_file_tags
object[]
required
enabled_features
object | null
required
custom_limits
object
required