Skip to main content
POST
/
api
/
v1
/
configurator
/
selections
cURL
curl --request POST \
  --url https://api.staging.qyl.dev/api/v1/configurator/selections \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "<string>",
  "profile_id": "<string>",
  "selected_keys_json": "<string>"
}
'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "profile_id": "<string>",
  "selection_type": "<string>",
  "selection_key": "<string>",
  "enabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "config_json": "<string>"
}

Body

application/json

Save generation selections request

workspace_id
string
required

Workspace ID

profile_id
string
required

Profile ID

selected_keys_json
string
required

Selected semconv keys

Response

The request has succeeded.

Selected semconv/feature per workspace for code generation

id
string
required

Selection ID

workspace_id
string
required

Workspace

profile_id
string
required

Profile

selection_type
string
required

Selection type (semconv_group, feature, custom_attribute)

selection_key
string
required

Selection key (e.g. http, db, genai)

enabled
boolean
required

Whether enabled

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

config_json
string

Selection-specific configuration