Skip to main content
POST
Move an agent's inline keys into a set

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Body

application/json
agent_id
string<uuid>
required
name
string

Create a new set with this name. Mutually exclusive with set_id.

description
string | null

Only used when creating a new set.

set_id
string<uuid>

Merge into this existing set. Mutually exclusive with name.

on_conflict
enum<string>

Optional; keep_set_definition is the only accepted value. Opt in to dropping clashing inline keys. Omit it and any clash returns 409 EXTRACTION_KEY_CLASH instead.

Available options:
keep_set_definition

Response

Keys moved into the set.

success
boolean
data
object