Create the application context

This creates the application context for a configuration version. There's one context per version, so if the version already has one, this returns a 409 error. To create or replace the context in one call, use the Update the application context operation instead. The version must still be editable. The Location header of the response gives you the URL of the context.

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