POST
/
api
/
v2
/
shrink-result
curl --request POST \
  --url https://actions.zapier.com/api/v2/shrink-result/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "result": {},
  "result_field_labels": {}
}'
{
  "shrunken_result": {}
}

Authorizations

x-api-key
string
header
required

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

Response

200 - application/json

OK

The response is of type object.