Create Settings
This endpoint creates a new settings
Body
The unique identifier for the agent whose settings are being updated.
The object containing all the settings that you want to update for the agent.
Response
The unique identifier of the agent whose settings were updated.
A test field to verify the update operation.
Indicates whether the agent take over tag is enabled.
Indicates whether the agent should skip certain emails.
An array of tags that the agent should skip.
The name of the model used by the agent.
The type of model used by the agent.
The provider of the model used by the agent.
The temperature setting for the model.
The maximum number of tokens allowed in the agent’s responses.
An array of subjects that the agent should skip.
Keywords indicating out-of-office status that the agent should recognize.
An array of channels that the agent should skip.
Indicates whether the agent should skip Instagram messages.
An array of emails associated with the agent.
The time threshold for the agent’s operations, in minutes.
The user ID of the person assigned to the agent.
An array of intents that the agent is allowed to process.
Keywords related to health concerns that the agent should recognize.
Phrases that trigger the agent to take over a conversation.
The team ID for escalations.
The name of the tag used for escalations.
The email used by the StateSet response system integrated with Gorgias.
The user ID in the StateSet response system integrated with Gorgias.
The name of the response used by StateSet.
The name that appears in the “From” field of the agent’s communications.
The address that appears in the “From” field of the agent’s communications.
The analytics platform used by the agent.
The agent’s average response time, in seconds.
The frequency of backups for the agent’s data.
The retention period for the agent’s backups.
Indicates whether the agent is compliant with CCPA regulations.
The timestamp when the agent was created.
The CRM system used by the agent.
The agent’s customer satisfaction score.
The target customer satisfaction score for the agent.
The level of encryption used by the agent.
The data retention period for the agent’s data.
The ID of the fallback agent in case of issues.
Indicates whether the agent is GDPR compliant.
The rate at which the agent resolves issues on first contact.
The average handle time for the agent’s tasks, in seconds.
Indicates whether the agent should skip emails based on intent.
A list of IP addresses that are whitelisted for the agent.
The language preferences set for the agent.
The maximum duration of a conversation handled by the agent, in minutes.
The organization ID associated with the agent.
Indicates whether the agent is PCI DSS compliant.
Indicates whether the agent has a profanity filter enabled.
The resolution rate for the agent’s tasks.
The target resolution rate for the agent’s tasks.
The threshold for the agent’s response time, in seconds.
The threshold for the agent’s sentiment analysis.
The ticketing system used by the agent.
The data sources used for training the agent.
The frequency of the agent’s training sessions.
The last date the agent’s training was updated.
Indicates whether two-factor authentication is required for the agent.
The timestamp when the agent’s settings were last updated.
Request Example
curl --location --request POST 'https://api.stateset.com/v1/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"query": "mutation UpdateAgentSettings($id: Int!, $agent_settings: agent_settings_set_input!) { update_agent_settings(where: { id: { _eq: $id } }, _set: $agent_settings) { returning { id test agent_take_over_tag skip_emails skip_tags model_name model_type model_provider temperature max_tokens skip_subjects out_of_office_keywords skip_channels skip_instagram_messages agent_emails time_threshold assignee_user_id allowed_intents health_concern_keywords agent_takeover_phrases escalation_team_id escalation_tag_name stateset_response_gorgias_email stateset_response_g