Skip to main content

Replace a client's assigned agents

PUT 

/v1/clients/:id/agents

Assignment decides how later events are attributed. An event without client_key from an agent assigned to exactly one client is attributed to that client. A model or outcome event from an agent assigned to two or more clients must carry client_key, or it is refused with client_key_required.

Request​

Responses​

OK.

Response Headers
    X-Request-Id

    The request's id, to quote in support requests. Echoes the request's X-Request-Id when it was at most 200 bytes of visible ASCII; otherwise generated.

    RateLimit

    Sent on every response to an API key once the rate limiter has run: absent on 401 and 403, and on every response to a session. The quota left in the one policy the request consumed, as IETF draft-ietf-httpapi-ratelimit-headers-11 specifies, e.g. "api";r=599;t=1. It tracks the draft, and may change to follow a newer draft without being treated as a breaking change. Do not base retries on it; retry on Retry-After.

    RateLimit-Policy

    Sent whenever RateLimit is. Every policy the key is subject to, as IETF draft-11 specifies. It tracks the draft, and may change to follow a newer draft without being treated as a breaking change.