Enable Project Key Agentic
Toggle agentic use ON for a Project Key (the agentic toggle).
Atomic: rotates the API client credential, encrypts the new credential file
blob with KMS, stores it on the PK row, sets agentic_enabled=True.
Idempotent on already-enabled PKs (no double rotation).
Rate limit: 5/min/tenant (each call burns one Frontegg credential rotation).
Returns 429 with Retry-After on bucket exhaustion.
Audit-logged with action=enable / enable_noop, actor email + sub, old/new state, tenant_id, project_key_id, timestamp.
/project-keys/{project_key_id}/enable-agenticAuthorizationBearer token · headerrequiredproject_key_idstringrequiredSuccessful Response
idstringrequirednamestringrequireddescriptionstring | nullShow propertiesHide properties
stringnullcreated_atstring<date-time> | nullShow propertiesHide properties
string<date-time>nullcreated_by_userUser | nullShow propertiesHide properties
idstringrequiredemailstringrequirednamestringrequiredprofile_picture_urlstring | nullShow propertiesHide properties
stringnullphone_numberstring | nullShow propertiesHide properties
stringnulltenant_idstringrequiredcreated_atstring | string<date-time> | nullShow propertiesHide properties
stringstring<date-time>nulllast_loginstring | string<date-time> | nullShow propertiesHide properties
stringstring<date-time>nullnullapi_client_idstring | nullShow propertiesHide properties
stringnullapi_client_id_masked_secretstring | nullShow propertiesHide properties
stringnullkafka_usernamestring | nullShow propertiesHide properties
stringnullservice_idstringrequiredrolesRole[]Show propertiesHide properties
Roleidstringrequiredkeystringrequirednamestringrequireddescriptionstring | nullrequiredShow propertiesHide properties
stringnullcreated_atstring | string<date-time> | nullShow propertiesHide properties
stringstring<date-time>nullupdated_atstring | string<date-time> | nullShow propertiesHide properties
stringstring<date-time>nullpermissionsstring[]statusstringrequiredlast_used_atstring<date-time> | nullShow propertiesHide properties
string<date-time>nulltool_profileToolProfile | nullShow propertiesHide properties
stringnullallowed_toolsstring[] | nullShow propertiesHide properties
stringstringnullblocked_toolsstring[] | nullShow propertiesHide properties
stringstringnullagentic_enabledbooleanWhether this Project Key is wired up as the auth blob behind the Streamkap MCP. Toggled via POST /project-keys/{id}/enable-agentic and disable-agentic. When true, the encrypted credential lives on the PK row (server-side only); the agent picker on the FE filters to PKs where this is true.
agentic_secret_blobstring | nullAlways masked to '********' on responses when agentic_enabled is true; null otherwise. Server-derived only - PUT/PATCH bodies that include this field are rejected with 422.
Show propertiesHide properties
stringnullValidation Error
detailValidationError[]Show propertiesHide properties
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
string | integerstringintegermsgstringrequiredtypestringrequiredinputanyctxobject