# Label a session as bot or human

**POST /v1/sessions/{sessionId}/label**



## Servers
- https://stg-api.isnotai.com
- https://stg-api-eu.isnotai.com

## Authentication methods
- bearer_auth

## Parameters

### Body: application/json (object)

- **isBot** (boolean)
- **confidence** (string)
- **notes** (string)

## Responses
### 200
Payload of SessionLabelResponse

Response body (application/json):
- **data** (object)
  - **sessionId** (string)
  - **isBot** (boolean)
  - **confidence** (string)
  - **labeledAt** (string(date-time))
  - **labeledBy** (string)
  - **notes** (string)

### 400
Payload of ErrorEnvelope

Response body (application/json):
- **error** (object)
  - **code** (string)
  - **message** (string)
  - **details** (object)

### 401
Payload of ErrorEnvelope

Response body (application/json):
- **error** (object)
  - **code** (string)
  - **message** (string)
  - **details** (object)

### 404
Payload of ErrorEnvelope

Response body (application/json):
- **error** (object)
  - **code** (string)
  - **message** (string)
  - **details** (object)

