Conversations

Explains APIs available to interact with Conversation objects in Score.

List conversations

get

This endpoint will list conversations that have completed evaluation. Pagination is supported using limit and offset query parameters.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · int32 · max: 50Optional

The number of conversations to return. Defaults to 10. Max is 50.

Default: 10
offsetinteger · int32Optional

The number of conversations to skip in pagination. Defaults to 0.

Default: 0
conversationDateFromstring · date-timeOptional

ISO-8601 formatted date-time string for the earliest conversation date

conversationDateTostring · date-timeOptional

ISO-8601 formatted date-time string for the latest conversation date

analysisDateFromstring · date-timeOptional

ISO-8601 formatted date-time string for the earliest analysis date

analysisDateTostring · date-timeOptional

ISO-8601 formatted date-time string for the latest analysis date

Responses
200

The request has succeeded.

application/json
get
/api/v1/conversations
200

The request has succeeded.

Get conversation by ID

get

This endpoint allows you get the compete evaluation result for a single conversation.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
conversationIdstringRequired
Responses
200

The request has succeeded.

application/json
get
/api/v1/conversations/{conversationId}
200

The request has succeeded.

Get transcript by conversation ID

get

This endpoint gives you the transcript of the requested conversation.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
conversationIdstringRequired
Responses
200

The request has succeeded.

application/json
get
/api/v1/conversations/{conversationId}/transcript
200

The request has succeeded.

List custom fields

get

This endpoint returns all custom fields configured for the organisation.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

The request has succeeded.

application/json
get
/api/v1/conversations/custom-fields
200

The request has succeeded.

Create custom fields

post

This endpoint allows you to create multiple custom fields for the organisation.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
200

The request has succeeded.

application/json
post
/api/v1/conversations/custom-fields
200

The request has succeeded.

FAQs

Why are the scores a floating point number?

All scores (such as playbookScore) will be a floating point number between 0 and 1 which allows you to present this score on any scale you like.

For example, to present the score on a scale of 0-5 you can multiply the score value by 5.

Last updated