API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.
v2DeprecatedAgents

Update Agent

Partially update a keyword-detection agent.

Partially updates an agent. All fields are optional — send only the ones to change. Updating parameters replaces the keyword configuration; sending only name or enabled leaves it unchanged.

Update an agent

PUT/api/v2/partner/workspaces/{partner_workspace_id}/agents/{agent_id}

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
agent_idintegerNumeric id of the agent. This ID is specific to your environment.

Request body

At least one field is required.

FieldTypeRequiredDescription
namestringNoNew display name. 1 to 100 characters.
enabledbooleanNoEnable or disable the agent.
parametersobjectNoNew agent configuration.
parameters.tracking_keywordsstring[]NoKeywords monitored on LinkedIn. At least one when provided.
parameters.start_datestringNoISO 8601 date. Only posts published after this date are scanned.

Example request

curl -X PUT "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/agents/42" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'

Example response

{
  "data": {
    "id": 42,
    "name": "Hiring signals",
    "type": "keyword_detection",
    "enabled": false,
    "parameters": {
      "tracking_keywords": ["hiring", "expansion"]
    },
    "created_at": "2026-06-12T09:00:00.000Z",
    "updated_at": "2026-06-12T11:30:00.000Z"
  }
}

Response fields

FieldTypeDescription
idintegerNumeric id of the agent. This ID is specific to your environment.
namestringDisplay name of the agent.
typestringAgent type. See the list below.
enabledbooleanWhether the agent is currently active.
parametersobjectAgent configuration. Its shape depends on type.
created_atstringWhen the agent was created (ISO 8601).
updated_atstringWhen the agent was last updated (ISO 8601).

The type field is one of keyword_detection, keyword_post_search, job_posting_keyword_detection, job_update, champion_tracking, competitor, partner, customer, influencer, champion, or unconfigured (an agent whose watchlist link is missing — its parameters is empty and watchlist_kind/watchlist_id are both null). type itself cannot be changed by this endpoint; parameters updates only apply to keyword_detection, keyword_post_search, and job_posting_keyword_detection agents, whose parameters hold tracking_keywords and an optional start_date.

Errors

StatusMeaning
401The master key is missing or invalid.
402This workspace is not on a plan that allows agents.
403The master key is not authorized to access this resource.
404No agent found for this agent_id.
422Invalid request body or agent_id.
429Rate limit exceeded.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.

On this page