POST
/
api
/
v2
/
shrink-result
/

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

app
string

App to use when shrinking values. Providing an app, action, and action type will help with improving the accuracy of the shrinking.

action
string

Action to use when shrinking values. Must be provided if app is provided.

action_type
string

Type of action to use when shrinking values. Must be provided if action is provided.

keep
string

A comma-separate list of field names to keep around. Fields in this list will never be shrunken and will remain as-is in the response.

token_budget
integer
default: 1000

Maximum number of tokens to include in the response.

Body

application/json
result
object
required

{key: value} that is returned from an underlying API call.

result_field_labels
object
required

{key: field_label} that is returned from an execution.

Response

200 - application/json
shrunken_result
object
required