Update the application context

This creates or replaces the application context for a configuration version. The request replaces the whole context, so send every value you want it to have. If the version has no context yet, this creates one. The version must still be editable, meaning its activationStatus is INACTIVE or FAILED.

Path Params
string
required
^[0-9]+$

Identifier for the FAI configuration.

integer
required

Version number of the FAI configuration.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Request body for creating or updating the application context for a Firewall for AI configuration version.

languages
array of strings

Array of allowed language codes for user interactions with the LLM application. Languages are specified with ISO 639-3 three-letter language codes. Run the List languages operation to get the full list of available language codes the platform supports. If not specified or empty, no language restrictions are applied.

languages
string
required
length between 1 and 8192

The system prompt that defines the LLM application's intended behavior, role, and operational scope.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json